Expand/Collapse parts of Form


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?
 
Ad

Advertisements

T

Tim Ferguson

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
 
Ad

Advertisements

M

Marshall Barton

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.
 

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

Similar Threads

expand/collapse 0
Form with Expand/Collapse features 3
Expand/Collapse 1
expand/collapse 0
Subform? Expand/Collapse 1
Expanding Forms 1
Expanding Forms 1
Collapse/Hide Sections of a Form 3

Top