Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement