Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid control methods
Message
 
À
30/07/1999 16:52:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00248392
Message ID:
00248412
Vues:
17
>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
Fil
Voir

Click here to load this message in the networking platform