Change Custom form size programmatically

W

willwong

Hi,

I need to be able to change the height of the form via a combobox (since it
"adds" or rather unhides textbox controls) and the form needs to expand with
it.

I've tried Inspector.Height property but that doesn't allow me to expand the
form past the maximised size i.e. no scrollbar.

Is this even possible?

Cheers,

Will
 
W

willwong

I have managed to change the size with Inspector.Height albeit it doesn't
work if you maximise the form.

The main thing is I need the scrollbar to appear, I've tried setting the
ScrollBars, KeepScrollBarsVisible, ScrollHeight in form properties yet none
of them enable the scroll bar

What is it i'm doing horribly wrong?
 
W

willwong

No worries I've figured out its Page.ScrollHeight I should be concerned with
and setting that programmatically
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top