>When I run the following code in the init of the page:
> set classlib to controls.vcx additive
> this.addobject('txtmake','txtbox')
> this.txtmake.left=25
> this.txtmake.top=100
> this.txtmake.visible=.t.
>I get the error that txtmake is an unknown member. The controls.vcx is in my project and has a class named 'TXTBOX'. I just don't see what I am doing wrong though obviously I am. Do I need to create the txtmake object first? Please let me know and again thank you for your help.
Just a shot in the dark here, but is the baseclass for 'TXTBOX' textbox or container? If by chance it is a container you would need to reference this.txtmake.txtboxname.left=25
hope this helps,
Marcus.
Previous
Next
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