Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stupid label question
Message
From
12/11/1998 19:38:02
 
 
To
12/11/1998 09:25:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00155701
Message ID:
00157244
Views:
75
Basically, if instead of

ThisForm.MyLabel.Visible = .t.

you put:

ThisForm.MyLabel.Autosize = .f.
ThisForm.MyLabel.Visible = .t.
ThisForm.MyLabel.Autosize = .t.

everything is fine (or, at least, I coudn't get the GPF:)).

Be careful to use Autosize, not Wordwrap in the above code. Playing with Wordwrap will change the width of your label.

Vlad

>Ah, I was toggling setting the visible property in a button click. Thanks. I'll check it out later today.
Previous
Reply
Map
View

Click here to load this message in the networking platform