I think that in and of itself a container has no UI. You have to add the add the object to the screen or a form, since those are the UI contianers that hold visible objects...
_Screen.AddObject('oObj','MyClass')
_Screen.oObj.Visible = .t.
BOb
>I am having a problem with classes. It has not been a problem for me in the past because I have only used them to drop on forms.
>
>My problem is that when I execute (in the command box):
>oObj = createobject('myclass')
>oObj.visible = .t.
>
>The object appears in its full glory in the debugger, but nothing shows on the screen...at all. This happens with every class that I try.
>
>Anyone have any ideas?
>
>BTW: if I try to execute: oObj.show(1), I get the error 'Property SHOW not found'
>BTW2: I have SP5 installed.
>Thanks, Randy
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