Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a grid with code
Message
 
 
To
19/06/2001 13:05:36
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00521141
Message ID:
00521157
Views:
16
>In one of my classes I am creating the grid I am displaying dynamically through a method on the class. When I try to set column1.text1.dblclick method = to a form method it fires off the form method. All I want to do is set the text box dblclick event = my form method. I tried using eval(Formmethod) but it is not working. Can you think of anyway for me to get around this problem ?
>
>Thanks for your help
>Stephen J. Hunt

You can not easily set methods in run time. Definitely not by the way you're trying to do it. Check FAQ section for Mike Helland FAQ "Adding code in a grid programatically" (something like that). This would be a start. Quite recently there was a very interesting thread on the same topic, I'll try to find it for you.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform