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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement