Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Abstract reference to buffer field contents?
Message
De
22/12/1999 01:14:28
 
 
À
21/12/1999 21:20:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00306762
Message ID:
00307153
Vues:
24
>... why would you care about the current control in a grid? If you have the grid, you can use activecolumn, ect.

Because you may need to flush the Value of the Column's CurrentControl before you do a TABLEUPDATE(). In other words, if you are editing a TextBox and attempt a TABLEUPDATE() by way of a ToolBar Button before the TextBox loses focus (e.g. hitting Return), the edit will not be commited. The method that performs the TABLEUPDATE() should automatically flush the Value before. You do this by getting the CurrentControl's object reference and then:

oCurrentControl.Value = oCurrentControl.Value
- Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform