Click or drag to resize

DataBrowser.EnableColumnReSize Method (Typed)

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

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

Parameters

lAllowResize
Type: Logic
TRUE allows column resizing; FALSE disables it. The default is TRUE.

Return Value

Type: Logic
Remarks
The user can resize the columns by dragging on the boundary between the column caption areas with the mouse. Column movement is enabled/disabled at two levels: the DataBrowser class level and the DataColumn class level. If column resizing is set at the browser level, DataBrowser:EnableColumnResize() can be used to enable/disable resizing. However, if column resizing is enabled at the column level, this method can no longer be used. DataColumn:EnableColumnResize() must be used to change the setting.
See Also