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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialog Form fit to content

Status
Not open for further replies.

matrixindicator

IS-IT--Management
Sep 6, 2007
418
BE
Hey,

I open from my main form another form as a dialog box.

Code:
DoCmd.OpenForm "FORMSUB_CUST_NEW", acNormal, , , , acDialog

The size of the dialog box seems default and is wider then the content. Is there a way to fix the size of the box to its content (the fields).
 
How are ya matrixindicator . . .

Not sure what you mean but have look at the [blue]Move/Size[/blue] method of docmd.

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top