|
-
Jul 27th, 2000, 01:21 PM
#1
Thread Starter
Fanatic Member
Hi
When I center my form, It was big, same I changing the property WIDTH and HEIGHT, what happened ?
thank you in advance
-
Jul 27th, 2000, 01:27 PM
#2
Fanatic Member
You probably have the WINDOWSTATE of the property set to MAXIMIZED.
Chemically Formulated As:
Dr. Nitro
-
Jul 27th, 2000, 01:27 PM
#3
_______
<?>
check the form WindowState property..perhaps you changed it by accident...should be vbNormal
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jul 27th, 2000, 06:06 PM
#4
Thread Starter
Fanatic Member
-
Jul 27th, 2000, 06:17 PM
#5
_______
<?>
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?
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jul 27th, 2000, 10:21 PM
#6
What version of vb
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.
-
Jul 28th, 2000, 06:19 AM
#7
Thread Starter
Fanatic Member
I am using VB 6 , when I remove the center form It stay big too
-
Jul 28th, 2000, 06:50 AM
#8
_______
<?>
..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
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|