Height

  • Thread starter Thread starter Dale
  • Start date Start date
D

Dale

I need to know of a way to change the height of my form in the form load
based on a variable. I have a subform that I want to set visible to
false and adjust the height if the variable is set to a certain value.
Any help would be appreciated.
 
I need to know of a way to change the height of my form in the form load
based on a variable. I have a subform that I want to set visible to
false and adjust the height if the variable is set to a certain value.
Any help would be appreciated.

me.insideheight = me.subFormControl.height

I would do it in the onLoad event. If the subform is hidden you set
your Formheight to the top of the SubForm

or you set it to a value you like
If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
 
Thanks. Worked like a charm.

Andi said:
me.insideheight = me.subFormControl.height

I would do it in the onLoad event. If the subform is hidden you set
your Formheight to the top of the SubForm

or you set it to a value you like
If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
 
Back
Top