Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the reason this won't work?
Message
From
29/06/2006 18:55:12
 
 
To
29/06/2006 18:07:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01132930
Message ID:
01132940
Views:
8
>
>_Screen.NewObject("lblSizer", "lbl", This.ClassLibrary)
>_Screen.lblSizer.AutoSize = .T.
>
>
>When it executes the second statement, the whole application shuts down.

Hmm, that shouldn't happen. What if you try:
_Screen.AddObject() ?

and/or insert

_Screen.lblSizer.Visible = .T.

before the .AutoSize call?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform