Purpose
Determines the area of a column.
Class
Type
Method
Syntax
<oBrowser>:GetColumnRect(
<uColumn>,
<srcArea>
) Æ lSuccess
Arguments
<uColumn> | The column for which the area is to be determined. The column must be contained in the list of the opened columns (see also bBrowser:ColumnOpenList). |
Data Type: | String | Symbol | Integer | bDataColumn |
<srcArea> | The rectangle structure in which the determined area for the column is returned. |
The structure must be specified by reference.
Data Type: | _winRect |
Return Value
lSuccess | A logical value that indicates whether the area for the column was determined. |
TRUE | The area was determined. |
FALSE | The area could not determined. |
Data Type: | Logic |
Description
bBrowser:GetColumnRect() determines the column the area which is being displayed.
Samples
The following sample determines the area of the first column.
LOCAL odbsCUSTOMER AS DBServer
LOCAL oBrowser AS bBrowser
LOCAL srcArea IS _winRECT
// Create browser and show it
odbsCUSTOMER := DBServer{"CUSTOMER"}
oBrowser := bBrowser{oOwner,;
1000,;
Point{0, 0},;
Dimension{300, 250}}
oBrowser:Use(odbsCUSTOMER)
oBrowser:Show()
// Determine the area of the first column
oBrowser:GetColumnRect(1, @srcArea)
? srcArea.Left
? srcArea.Top
? srcArea.Right
? srcArea.Bottom
See Also
bBrowser:GetRecordGroupItemRect()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getcolumnrect.htm