Navigation:  Classes > bBrowser >

bBrowser:ResizeCellGroup()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Changed the width or height of a cell group.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:ResizeCellGroup(

<oCellGroupItem>,

<iOptions>

) Æ lResized

Arguments

<oCellGroupItem>The cell group whose width or height is to be changed.
Data Type:bCellGroupItem

 

<iOptions>One or more options with these the cell group resizing can be influenced. The following options are supported::

 

Option

Description

BRCGO_HORIZONTAL

The size of the cell group can be changed to the left or to the right.

 

Remarks!

The option BCGIO_RESIZABLE_HORIZONTAL must be defined in the cell group (bCellGroupItem:Options).

 

The option BRCGO_HORIZONTAL may not be specified together with the option BRCGO_VERTICAL.

BRCGO_VERTICAL

The size of the cell group can be changed to the top or to the bottom.

 

Remarks!

The option BCGIO_RESIZABLE_VERTICAL must be defined in the cell group (bCellGroupItem:Options).

 

The option BRCGO_VERTICAL may not be specified together with the option BRCGO_HORIZONTAL.

 

Data Type:DWord

Return Value

lMovedA logical value that indicates whether the size of the cell group was changed.
TRUEThe size of the cell group was changed.
FALSEThe size of the cell group was not changed.
Data Type:Logic

Description

bBrowser:ResizeCellGroup() change the with or height of a cell group with the mouse. The left mouse button must be pressed at the call of the method. The size of the cell group is changed with the mouse as long as the left mouse button is pressed. During resizing the visible columns in the bBrowser are scrolled horizontally or vertically as soon as the mouse reaches one of the margins of the bBrowser. When the left mouse button is released, resizing is finished and the size of the cell group is changed. Resizing can be canceled through by pressing the Esc key.

 

The callback method bBrowser:CellGroupResize() is invoked repeatedly while moving the cell group.

See Also

bBrowser:CellGroupResize()

bBrowser:EnableCellGroupResize()

bBrowser:IsCellGroupResizable()

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_resizecellgroup.htm