0

my form window sate (property) is maximized. this is run maximized before. but today it run normally. but when I manually maximized it then it would maximized. what problem with it.

2
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by abu taher
0

check to make sure that you did not accidently change the windowstate property in the properties window. THen if you really want to make sure, add...

Me.WindowState = vbMaximized

to the forms load event.

Good Luck

0

no change. the maximized button of the form was true when it run. but the form size not change. I mean it not show in full screen. it show in half of the screen with maximized button true. when I click maximized button it false and then again click then true and show in full screen.

0

Yeah, I've seen this before and I have no idea why this happens but you can add this to the form load event.

Me.Width = Screen.ScaleWidth
Me.Height = Screen.ScaleHeight
Me.WindowState = vbMaximized

See if that helps...


Good Luck

0


Me.Width = Screen.ScaleWidth
Me.Height = Screen.ScaleHeight
Me.WindowState = vbMaximized

Good Luck

this not run. I write this and run

Me.Width = Screen.Width
Me.Height = Screen.Height
Me.WindowState = vbMaximized
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.