Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make forms stretch to width/height limits like web pages

Status
Not open for further replies.

6kleg

IS-IT--Management
Dec 21, 2004
24
US
Can anyone point me to the best way to make Access forms act like web pages. I'm referring to the way you can set the width of page elements to 100% and they expand to the limits of the width and height of the window they are running in. I currently use Maximize for that but I have never liked the way it behaves. I'm as much interested in knowing how to make an image in a form's header stretch the full width of the window, and to make the detail section take up all the space not used by the header and footer.

Help is always appreciated.

 
Check out I've never used it, but it seems to do what you want.
If you want to roll your own, then you probably need to be looking at the OnResize event.

----------------------------------------------
Ben O'Hara "Where are all the stupid people from...
...And how'd they get so dumb?"
rockband.gif
NoFX-The Decline
----------------------------------------------
Want to get great answers to your Tek-Tips questions? Have a look at F
 
The Access 200? Developer's Handbook Volume 1 contains pre-built class modules (on the CD) that can scale everything on the form, including fonts and controls. It would take considerable time to develop the routines they've supplied (Getz, et al.), so the cost of the book is a drop in the bucket.

One class, called "FormResize" is very good at moving / resizing controls at runtime (encapsulates 2 other classes: ControlResize and SectionResize). The set is a must-have for serious Access developers, although Volume 1 is sufficient non-enterprise applications:



VBSlammer
redinvader3walking.gif

"You just have to know which screws to turn." - Professor Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top