>Thank you!
>
>>>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.
>>
Or, since many objects won't attach directly to screen:
_Screen.AddProperty('oNewObject',NEWOBJECT('msclogo','vfp class library'))
_Screen.oNewObject.Visible = .T.
>>NewObject() just creates a variable without attaching it to anything.