Click or drag to resize

DataBrowser.EnableColumnMove Method (Typed)

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:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD EnableColumnMove(
	 lAllowMove AS LOGIC
) AS LOGIC
Request Example View Source

Parameters

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

Return Value

Type: Logic
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