Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control methods
Message
 
To
30/07/1999 16:52:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00248392
Message ID:
00248412
Views:
11
>I have figured out thanks to this group how to repopulate my grid after making changes to it source.
>However how can I get the controls (grid1.column1.texbox1, etc)their methods back? (I have the textbox.click refreshing the form)

It seems that VFP simply doesn't like you changing the .RecordSource, even if it is the same view/cursor name with new values but the same definition of columns. We've created a self building grid that will check to see if the custom textbox we typically use is still there. If not, as VP tends to want to revert to Text1, then we have code that removes .Text1 and does an .Addobject() to the column to add our custom textbox class. This preserves the code in the custom textbox making it available for use.

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform