Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetMethod()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00636499
Message ID:
00636556
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform