Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting code into method at runtime
Message
From
10/12/2008 15:21:27
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01366206
Message ID:
01366515
Views:
13
>>>Where did you put the code?
>>
>>In the CustomClass.INIT
>
>Mmm, I thought that putting the code in the init of the custom would not work, but it seems to work (in my test) anyways, although I believe is not a good place to put it for you can not be sure the grid is properly initialized at that point, what happens if you move the bindevent to the init of the form instead?

That's one of the issues. This is a custom class that is just meant to reside at the same level as a grid. Not form-dependent at design time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform