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