ComponentOne True DBGrid Pro 8
ColMove Event

 

ColMove Event

The ColMove event occurs when the user has finished moving the selected columns. Your event procedure can either accept the movement or cancel it altogether.

Syntax

object_ColMove (ByVal Position As Integer, Cancel As Integer)

Arguments

Position is an integer that specifies the target location of the selected columns.

Cancel is an integer that may be set to True to prohibit movement.

Remarks

The Position argument ranges from 0, which denotes the left edge, to the total number of columns, which denotes the right edge.

To determine which columns are being moved, examine the SelStartCol and SelEndCol properties.

If you set the Cancel argument to True, no movement occurs. Selected columns always remain selected, regardless of the Cancel setting.

Note

This event is only fired when the user moves the selected columns to a new location.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback