ComponentOne List 8.0 for ActiveX
ColMove Event

 

ColMove Event

The ColMove event occurs when the user has finished moving the selected columns.

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

Event applies to TDBList and TDBCombo controls.

Your event procedure can either accept the movement or cancel it altogether.

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

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback