Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program for listing properties
Message
 
À
14/03/2006 12:49:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01104099
Message ID:
01104287
Vues:
12
Thanks for yoir reply..
I've done this:
1)Create a form and added an event called "myevent"
2)Placed a commandbutton whith this on the click event:
      mytext=readmethod(thisform.myevent)
      MESSAGEBOX(mytext)
When I run the form and click on the commandbutton, it shows this error:
myevent is a Method, Event or Object

What am I doing wrong?
Thanks in advance



>>It works fine!, thanks a lot..
>>Another chalenge...
>>
>>What if I want to see the source code for the click event of a commandbutton on the form?
>
>You can use a reference to the button (which you can also get via aselobj()) and use its .ReadMethod() function. You get it as a string, which you can then copy wherever you want.
>
>However, if the code is not in the button, but in its class (or its parent class), there's no easy way to get that in VFP6. In VFP8 and later, there's a button in the code editing window.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform