Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias in grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00546144
Message ID:
00546215
Vues:
10
>>Hi!
>>
>>In addition, it is popular approach to get value of the current cell using
>>evaluate(grid.columnXXX.ControlSource) or using control source of corresponding text box that will also work when current alias is not what is used by grid.
>
>FWIW, to get the value of the current grid cell you just refer to Grid.Value property, there is no need to EVAL the column control source.

Sorry, should be current row cell ;) Also, in code in certain events Grid.Column.TextBox.Value and Grid.Value could not be yet populated by correct value, when record pointer already changed. There were several threads here recently and solution was to use evaluate() from ControlSource.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform