Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name of a grid column
Message
From
27/03/2006 12:02:38
 
 
To
27/03/2006 11:41:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01107983
Message ID:
01108025
Views:
25
Could you explain how a cell can be "referenced" ?

If the cell has focus, from any method within the control, you can refer to it as This.

If you are trying to determine this in a method outside the grid, the grid still has to have focus for this code to work:
loGrid = Thisform.grdWhatever
FOR EACH loColumn IN loGrid.Columns
  IF loActiveControl.ActiveColumn = loColumn.ColumnOrder
    loControl = EVAL( 'loColumn.'+ loColumn.CurrentControl )
    EXIT
  ENDIF
ENDFOR
Perhaps we would be in a better position to help you here if we know what it was you were trying to do.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform