Navigation:  Classes > bBrowser >

bBrowser:DrawCell()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Draws a single data cell.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:DrawCell(

<hDC>,

<iColumn>,

<iRow>,

<iRecNo>,

<lClear>,

<lSelected>,

<lFocus>

) Æ lDraw

Arguments

<hDC>The DeviceContext in which the data cell must be drawn.
Data type:Pointer

 

<iColumn>The column number of the cell that is to be drawn. The column number refers to the list of the opened columns (see also bBrowser:ColumnOpenList).
Data type:Integer

 

<iRow>The row number of the cell that is to be drawn.
Data type:Integer

 

<iRecNo>The record number of the cell that is to be drawn.
Data type:Integer

 

<lClear>A logical value that indicates whether the background of the cell is to be drawn.
Data type:Logic

 

<lSelected>A logical value that indicates whether the cell is to be drawn in the selected mode.
Data type:Logic

 

<lFocus>A logical value that indicates whether the cell is to be drawn with a focus rectangle.
Data type:Logic

Return Value

lDrawA logical value that indicates whether the data cell was drawn.
TRUEThe cell was drawn.
FALSEThe cell was not drawn.
Data type:Logic

Description

bBrowser:DrawCell() draws the background and the value of a data cell. The data cell can be drawn both in selected mode and with a focus rectangle. The grid of the data cell is not drawn by this method. For this the method bBrowser:DrawGrid() must be called.

See Also

bBrowser:DrawFocus()

bBrowser:DrawRow()

bBrowser:DrawSelectorState()

bBrowser:DrawValue()

 


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