Click or drag to resize

DataColumn.EnableColumnMove Method (Typed)

X#
Enable/disable whether the user can move (rearrange) this data column with the mouse. If the method is not called, the default behavior is determined by the data browser that owns this column.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD EnableColumnMove(
	 lAllowMove AS LOGIC
) AS USUAL
Request Example View Source

Parameters

lAllowMove
Type: Logic
TRUE allows column movement; FALSE disables it. The default is TRUE.

Return Value

Type: Usual
Remarks
The user can rearrange the columns by simply dragging a column's caption area with the mouse. For the purpose of reference from the program, the columns retain their original numbering, regardless of the visual position.
See Also