Why dont this work!

Mephisto666
03-15-2003, 12:20 PM
Hi i have this problem ... I want my program to be in 3 modes
>
BASIC, ADVANCED and EXPERT and reducing the number of options when u click on each. I want to do it so i am reducing or advancing
Form1.scaleHeight

When im in object mode and i play with the form, the scaleheight changes. ANd so my code was

Sub cmdBeginner_click
state = "beginner"
form1.scaleheight = 3000
End sub

Sub cmdAdvanced_click
state = "advanced"
form1.scaleheight = 5000
End sub

Sub cmdExpert_click
state = "expert"
form1.scaleheight = 8000
End sub

This doesnt work... can someone help me please.

Thinker
03-15-2003, 12:26 PM
Why are you setting the ScaleHeight instead of just the Height?

Iceplug
03-15-2003, 12:26 PM
You have to set the Form1.Height properties... setting the Scaleheight is changing the actual scaling on your form....

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum