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

Resizable Dialog Forms 1

Status
Not open for further replies.

eon5

Technical User
Dec 31, 2007
47
ZA
Hi,

I have a Macro that is opening a form in Dialog mode, is it possible to have a resizable bottom right corner so to resize the dialog form as the user see fit.

Thanks
eon5
 
How are ya eon5 . . .

The problem is that [blue]acDialog[/blue] sets the [blue]Border Style[/blue] property of the form to [blue]Dialog, making the form manually unsizeable!

The easiest thing to is as follows
[ol][li]Set the following [blue]form properties[/blue]:
[ol a][li]Pop Up [purple]Yes[/purple][/li]
[li]Modal [purple]Yes[/purple][/li]
[li]Border Style [purple]Sizable[/purple][/li][/ol][/li]
[li]Remove [blue]acDialog[/blue] from your Docmd.OpenForm line and give it a whirl.[/li][/ol]
Be aware, the form will be sizable by all four sides.

Also, it may be possible to size the Dialog form by using the direction keys in conjunction with the [blue]MoveSize[/blue] method. I just hav'nt checked that out yet.

[blue]Your Thoughts? . . .[/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
Thanks for the advice...can always count on TheAceMan!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top