A
ABinBoston
I would like to show/hide some controls and size a form depending on whether
they are visible or not.
I have about 5 controls on the right side of the form I'd like to conditionally
show or hide - I can use command buttons or a togle button...
For example, open the form to a size of 300 x 200
and hide a few textboxes
text1.visible = false
text2.visible = false - etc..
then, click a command button to make the form wider , maybe 400x200 and show
the controls
text1.visible = false
text2.visible = false
Also, I may want to maximize the form
open it in 300x200 them have a command button that maximizes the form and shows
the control
How do I restore the fornm to the original 300x200 size once maximized?
Any help is appreciated - thanks AB
they are visible or not.
I have about 5 controls on the right side of the form I'd like to conditionally
show or hide - I can use command buttons or a togle button...
For example, open the form to a size of 300 x 200
and hide a few textboxes
text1.visible = false
text2.visible = false - etc..
then, click a command button to make the form wider , maybe 400x200 and show
the controls
text1.visible = false
text2.visible = false
Also, I may want to maximize the form
open it in 300x200 them have a command button that maximizes the form and shows
the control
How do I restore the fornm to the original 300x200 size once maximized?
Any help is appreciated - thanks AB