Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetMethod()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00636499
Message ID:
00636556
Views:
20
Hi Sebastian,
One last question (I hope). WonTop() only produces the name of object.method without it's heirarchy. Any way to get the heirarchy while I'm editing the method? I'm looking for "form1.container1.txtbox1.click" not just "txtbox1.click".

I know about ASELOBJ(), but I'm trying to have a prg determine the object while I'm editing the method.



>Hi, Bill!
>
>>>
>into a variable or the clipboard
><<
>
>Ooops - I missed the "clipboard" part of your question, here we are <s>:
>
>Here the simple way:
>
ON KEY LABEL F9 _cliptext = PROPER( JUSTEXT( WONTOP() ) )
>
>And here the little bit more complicated way (if you're dealing with VSS, there may be the additional " [read only]" tag in the caption:
>
ON KEY LABEL F9 _cliptext = PROPER( STRTRAN( JUSTEXT( WONTOP() ), " [READ ONLY]" ) )
>
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform