Koen Piller
Programmer
Hi,
Usualy I drag and drop my objects on my form but in this special case I need to instantiate the objects upon user condition so Addobject() should do it. However I dont seem to be able to show the new object on my form.
The (basic) command I use is:
The MyClass.vcx lib was instantiated and contains a class MyContainer based on a container
My form shows, without the red container, what should I change in above basic coding?
Regards,
Koen
Usualy I drag and drop my objects on my form but in this special case I need to instantiate the objects upon user condition so Addobject() should do it. However I dont seem to be able to show the new object on my form.
The (basic) command I use is:
Code:
loObject = NEWOBJECT("MyContainer","MyClass")
loObject.Backcolor = RGB(255,0,0) && just to show I can manipulate the props of loObject
loObject.Visible = .t.
The MyClass.vcx lib was instantiated and contains a class MyContainer based on a container
My form shows, without the red container, what should I change in above basic coding?
Regards,
Koen