Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running code from parent class/Setting focus
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Running code from parent class/Setting focus
Miscellaneous
Thread ID:
00012644
Message ID:
00012644
Views:
64
Hi guys,
I have two question that I'm sure somebody else
asked before, but the search tool for old messages
is down until next week, so this is my first question :
I have a form in 3.0 generated with the wizard, I used
the 'txtbuttons' class, what I need is to add code to
the click method of one of the buttons and execute
the original code in the parent class, but it doesn't
seems to work, what I'm doing is adding this lines
in the click method of the edit button :

wait 'This is my click..' window nowait
this::click()
and it doesn't work

also I tried this.parent.click() and reported me that 'this object doesn't inherit from class THIS.'
what I'm doing wrong ?
My second question is how do I make and object the current object at run time, in the old days I used to
do something like :
_CUROBJ=OBJNUM(m.MyVariable)
but now the CurrentObject property that substitute
_CUROBJ is read only at run time, what can I do ?
Thanks in advance.
luisg@netrunner.net
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Next
Reply
Map
View

Click here to load this message in the networking platform