Did you used the NAME clause? If so, iguess you could use loWindow = CreateObject("cmdButton", "MyClass")
While the previous suggestion may work, I would suggest that you create a form class and use this instead of DEFINE WINDOW. You will be able to reuse the class more easily that the code.
HTH
>I used the command 'Define Window' to create an about screen.
>
>I was wondering if there was a way to addobjects or createobjects
>on this window?
>
>I tryed to use createobject to create a command button but it would not display at all.
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