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!

Changing the size of the pop up window of a form

Status
Not open for further replies.

techsupport3977

Technical User
Mar 7, 2005
56
US
I have my form as a popup dialog so the user can not modify the window size. However, I need two different sizes to the window based on a simple 'IF' function.

Code:
If Forms!fm_scrapControl!Shift1 > 0 Then ... Else...

The 'Then' part should have a window size 1 (if this is possible) and the 'Else' should have Window size 2.

Is this possible and what is the command to control this?[/color green]
 

DoCmd.MoveSize

________________________________________________________________________
Zameer Abdulla
Visit Me
By the time a man realizes that may be his father was right,
he usually has a son who says,
"Father, you are wrong!".
 
Would I be able to have the scroll bars turned on or off with something similar to this?
 
Me.ScrollBars = 3 (both scrollbars)
See "ScrollBars Property" in help for more

________________________________________________________________________
Zameer Abdulla
Visit Me
By the time a man realizes that may be his father was right,
he usually has a son who says,
"Father, you are wrong!".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top