ComponentOne List 8.0 for ActiveX
Moving columns

If the AllowColMove property is True, the user can move previously selected columns as a unit to a different location by pressing the mouse button within the header area of any selected column. The pointer will change to an arrow with a small box at its lower right corner, and the divider at the left edge of the column being pointed to will be enlarged and highlighted.

The user specifies the desired location of the selected columns by dragging the enlarged divider, which changes position as the mouse pointer crosses the right edge of a column.

The user completes the operation by releasing the mouse button, which moves the selected columns immediately to the left of the divider. The moved columns remain selected.

If the user drags the divider to a position within the currently selected range, no movement occurs. Columns that are not selected cannot be moved interactively.

When a move occurs, the Order property is adjusted for all affected columns. You can always rearrange columns in code by modifying the Order property yourself.

You can prevent interactive column movement from occurring at run time by setting the Cancel argument to True in the ColMove event.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback