Hi
When I center my form, It was big, same I changing the property WIDTH and HEIGHT, what happened ?
thank you in advance
Printable View
Hi
When I center my form, It was big, same I changing the property WIDTH and HEIGHT, what happened ?
thank you in advance
You probably have the WINDOWSTATE of the property set to MAXIMIZED.
check the form WindowState property..perhaps you changed it by accident...should be vbNormal
Hi
It is 0 - Normal
Is it a big app...perhaps you could display the code
so one can see if anything in the code is triggering the change.
If you remove the center form does it stay small?
How are you centering tht form?
From version 5 there is a form property for centering the form, (caren't remember what it's called but towards the bottom of the properties list). Maybe cut out the centering code from your app and use this property method.
I am using VB 6 , when I remove the center form It stay big too
..if that is the case you have to do it in design mode
or you can code it
Code:Private Sub Form_Activate()
Me.Width = 6000
Me.Height = 4000
End Sub