ajetrumpet
Banned
- Local time
- Today, 05:26
- Joined
- Jun 22, 2007
- Messages
- 5,638
all,
i am trying to dynamicaly change my form width when it opens. here is some relevant code:
the width is set in twips, but my form width is not changing. it is not "sticking" so to speak. i have edits allowed, design changes allowed in all views too. any advice anyone?
i have also tried the me.INSIDEWIDTH property to no avail.
i am trying to dynamicaly change my form width when it opens. here is some relevant code:
Code:
Private Sub Command232_Click()
'FOR TESTING ONLY
Me.Width = 19320
DoCmd.Save
End Sub
Private Sub Form_Current()
DoCmd.Maximize
End Sub
Private Sub Form_Open(Cancel As Integer)
Me.Width = 19320
Debug.Print Me.Width
Call DefaultsNeeded
i have also tried the me.INSIDEWIDTH property to no avail.