Click or drag to resize

DataBrowser.EnableColumnMove Method

X#
Enable/disable whether the user can move (rearrange) columns in the data browser with the mouse. If this method is not called, the ability to move columns is enabled, by default.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD EnableColumnMove(
	lAllowMove
) AS USUAL CLIPPER
Request Example View Source

Parameters

lAllowMove (Optional)
Type: Usual
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. Column movement is enabled/disabled at two levels: the DataBrowser class level and the DataColumn class level. If column movement is set at the browser level, DataBrowser:EnableColumnMove() can be used to enable/disable movement. However, if column movement is enabled at the column level, this method can no longer be used. DataColumn:EnableColumnMove() must be used to change the setting.
See Also