Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias in grids
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00546144
Message ID:
00546215
Views:
18
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform