Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to add a FOR loop to update a grid?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255835
Message ID:
00255998
Views:
22
>>
>>You can't add code to a method at runtime. You'll have to wither manually add this code to each textbox in the grid, or create a textbox class that has this code in it, and loop through the columns at runtime, adding this subclassed textbox and removing the stock textbox.
>
>How about the .setall ?
>
>You can change back color and other things with it. It compiles and does not error in the init for the grid. It just does not work when the dblclick takes place.
>
>ceffect1= "ThisForm.pgfBizObj.ActivePage = ThisForm.nGoToPageOnEdit"
>this.SetAll("dblclick", ceffect1 , "text")
>
>
>Thanks.

My guess is that it may stick the text in but the code that runs in a form is precompiled and loaded in the Objcode field of the scx. I believe this compiled code is what executes.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform