Purpose
Changed the width of a column.
Class
Type
Method
Syntax
<oBrowser>:ResizeColumn(
<uColumn>,
[<iWidthNew>]
) Æ lResized
Arguments
<uColumn> | The column whose width is to be changed. Either the column must be contained in the list of the open columns (see also bBrowser:ColumnOpenList) or it must be a group column. |
Data type: | String | Symbol | Integer | bDataColumn | bGroupColumn |
<iWidthNew> | The new width of the column. If the argument is not specified, then the browser switches into manual resize mode. This indicates that the column width can be changed with the mouse. |
Data type: | Integer |
Return Value
lResized | A logical value that indicates whether the width of the column was changed. |
TRUE | The width of the column was changed. |
FALSE | The column width could not be changed. |
Data type: | Logic |
Description
bBrowser:ResizeColumn() changes the width of a column. With the argument <iWidthNew>, two modes are supported:
1. | Resizing to the specified width If the argument <iWidthNew> is specified, then the column width is immediately changed to the new width. |
2. | Resizing with the mouse If the argument <iWidthNew> is not specified, then the column width can be changed with the mouse when the left mouse button is pressed. If the left mouse button is released, width changing completes and the column is adapted to the new width. Changing the width can be canceled by pressing the Esc key. |
If the column width was successfully changed, the callback method bBrowser:ColumnResize() is called.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_resizecolumn.htm