Expand/Collapse parts of Form

  • Thread starter Thread starter Katrina
  • Start date Start date
K

Katrina

(Posted in 3 newsgroups - VBA, Forms, and Forms
Programming)

I would like to create a button that will expand a part of
a form, and then collapse it back when pushed again.

Is there a way to do this?

I can make the form hide the controls on the push of a
button, but I would like the size of the form to actually
change when I use the button, because I would like the
form to open as a small form that can become bigger as
needed?

An Suggestions?
 
I would like to create a button that will expand a part of
a form, and then collapse it back when pushed again.

I haven't done this since my VB days, but you should be able to manipulate
the Height property of the form to make it grow downwards or Width to make
it grow to the right.

Hope that helps


Tim F
 
Katrina said:
(Posted in 3 newsgroups - VBA, Forms, and Forms
Programming)

I would like to create a button that will expand a part of
a form, and then collapse it back when pushed again.

Is there a way to do this?

I can make the form hide the controls on the push of a
button, but I would like the size of the form to actually
change when I use the button, because I would like the
form to open as a small form that can become bigger as
needed?


Use the form's InsideHeight and InsideWidth properties to
change its size.
 
Back
Top