Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program for listing properties
Message
 
 
To
14/03/2006 12:49:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01104099
Message ID:
01104287
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform