General information
Category:
Coding, syntax & commands
You get the form name
cformname=WONTOP()
or
cformname=_SCREEN.ACTIVEFORM.NAME()
Then you can reference it as:
&cformname..property()
i.e.( myform.mymethod() or myform.myproperty() )
In the object oriented fashion...
as it is a nobject.
Often I have had to make the forms name a public variable.
and have done it like.
PUBLIC myform &&IN the start program
IF WONTOP()='MYFORM'
Myform.mymethod()
Myform.myproperty=.t.
ENDIF
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