Hi,
I want to switch the next form in the same size of the previous form.The form is maximized.
Printable View
Hi,
I want to switch the next form in the same size of the previous form.The form is maximized.
vb Code:
public sub load_next_form() frmnext.maximized = true frmnext.show end sub
you said your previous form is maximized right? :D
This is more flexible.
Code:Form2.Move Me.Left, Me.Top, Me.Width, Me.Height
Form2.Show
since when is maximised a property of a formQuote:
frmnext.maximized = true
frmnext.WindowState = vbMaximized
Thank you..........