General information
Category:
Forms & Form designer
>>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
I've rebuilt most of the grid anyway I'll try that
Thanx
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only