Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Control Does not show?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01163697
Message ID:
01163802
Views:
8
Thanks David for clarifying it for me! I solved it adding the image control directly to the form with AddObject() as you suggested and adding it as a reference to a collection object.

Enmanuel

>Emmanuel,
>
>>Can anybody tell me what am I missing here?
>
>This is the problem:
>
>>Thisform.msgObjetos[nElements]=CREATEOBJECT("image")
>
>Objects instantiated with CREATEOBJECT() will not be contained member objects of the form, so they can't be visible or participate in the UI event loop of the form.
>
>You need to use either thisform.AddObject() or thisform.NewObject() to get your images into the form. You can also then use the native thisform.Objects[] collection to access the images.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform