Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- NEWOBJECT()
Message
 
 
To
10/08/2000 14:47:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00403575
Message ID:
00403585
Views:
14
>What am I doing wrong? The object is not being displayed after I run this code.
>
>oNewObject = NEWOBJECT("msclogo","vfp class library")
>_Screen.oNewObject.Visible = .T.

It doesn't look like you are adding the object to the _Screen object.

Try:

_Screen.NewObject('oNewObject',"msclogo","vfp class library")
_Screen.oNewObject.Visible = .T.

NewObject() just creates a variable without attaching it to anything.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform