Acess VBA frames for layout control
Posted on 2006-05-17
I need to find the name of the "frame" control/container that can hold drawing elements used in my form layout.
I've tried a couple of things that hold objects, but none of them seem to hold simple drawing objects like rectangles and lines.
What I'm trying to accomplish is making a task pane on the right hand side of the form that stays on the right regardless of the resizing the user might do. It would be much simpler to set my drawing elements and controls relative to a point on a container (say top left) and then position the container relative to the inside dimensions of the form.
If I have to, I can manually adjust each of the controls, but I shouldn't have to do such a thing.
The frame control/container
o must be able to contain simple drawing objects like rectangles as well as all of the controls one would put on a form.
o must be able to turn on and off (visible/invisible)
o must be resizeable (height & width) & repositionable (top & left)
o contained controls positioning (top & left) must be relative to the top & left of the containing control/collection.
o it would be really cool if the container could optionally have scrollbars to scroll the interior.
o useable with Using Access 2003 VBA
Anyway, that's what I'm looking for.
Another thought is using subforms (ugh!)
So, what control/container am I looking for? Where do I find it?