Harris,
Thank you. Addobject worked.
Alvin
>>I'm having a problem showing a container object
>>
>>In the Init method
>>
>>con1=createobject('box')
>>con1.visible=.t.
>>
>>* where box is a container class
>>
>>After the init method object con1 doesn't show on the form. Thanks
>You would rather use the AddObject method of the form:
>This.Addobject("mybox","shape")
>This.mybox.Height = 100
>This.mybox.Left = 10
>This.mybox.Top = 10
>This.mybox.Width = 100
>This.mybox.Visible = .T.
>HTH
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only