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