Grid Column - Focus Property

True if this item is the focus item in the list

Member of Grid Column (PRIM_GDCL)

Data Type - Boolean

Details

Focus will return True if the item is the column is the focus column in the grid.
 
The focus column is the column in the visual list that will respond to keyboard entry.
 
There will only ever be one focus column.

Example

Testing the focus column to handle data input in a grid
Evtroutine Handling(#Grid.EditorChanged) Value(#Value)
 
   If (#GridColumn1.Focus)
      * etc.
   Endif
 
   If (#GridColumn2.Focus)
      * etc.
   Endif
 
   If (#GridColumn3.Focus)
      * etc.
   Endif
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2