CURSOR-X (numeric)

Identifies the logical column in which the cursor is located. Setting this property moves the cursor. Inquiring this property returns the cursor’s location. Note that you may MODIFY this property during a MSG-VALIDATE event to direct where the cursor should go after the user finishes an entry into a cell. However, you should do this only if you are not also forcing the user to stay in entry mode on the current cell. If you move the cursor in response to other events while the user is in entry mode, the results can be confusing.

When a column is hidden, explicitly moving the cursor to that column via CURSOR-X reveals the column. If SEARCH-TEXT finds a value in a hidden column and positions the cursor there, this also reveals the column. In general, the grid does not allow the cursor to occupy a hidden column.

Note: When either CURSOR-PHYS-X or CURSOR-X is set, both properties are updated appropriately after the cursor is moved.