Change Custom form size programmatically

  • Thread starter Thread starter willwong
  • Start date Start date
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
 
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?
 
No worries I've figured out its Page.ScrollHeight I should be concerned with
and setting that programmatically
 
Back
Top