MSG-COLUMN-SHOW (value 16445)

This event occurs when a column is revealed or hidden by the user or by the program in the cases described in the Cursor Handling topic. EVENT-DATA-1 is either 0 (hiding) or 1 (showing) the column. EVENT-DATA-2 is a combination of the physical and logical columns, using the following formula:

(physical-column-number * 1000) + logical-column-number

In the case of showing a column, the physical-column-number is where the revealed column appears.

For this event to occur, the grid must have the MOVEABLE-COLUMNS style. To prevent the event from occurring, set EVENT-ACTION to EVENT-ACTION-FAIL.

The following defines physical vs. logical columns:

physical columns
These are what are seen on the screen by the user. The leftmost column is column 1, the next one to the right is column 2, and so on.
logical columns
These represent how the program understands the grid layout, and is the order in which data appears in the RECORD-DATA property for any given row. Again, this lays out left to right, but the order is based on the ordering in the record and not necessarily what appears on the screen.