QGrid
![]() |
![]() ![]() |
QG_GetCellOptions(areaRef; cellWidth; cellHeight; bkgPict; bkgPictFormat):errorCode | |||
![]() |
areaRef | Longint | QGrid area reference |
![]() |
cellWidth | Longint | Cell width |
![]() |
cellHeight | Longint | Cell height |
![]() |
bkgPict | Picture | Background picture |
![]() |
bkgPictFormat | Longint | Background picture format |
![]() |
error | Longint | Error result |
Returns the current grid cell properties.
Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.
Parameters cellWidth and cellHeight receive the cell dimensions in pixels.
Parameters bkgPict and bkgPictFormat are optional. When used, they receive the cell's background picture and its display format. If no background picture was defined for the area cells, both parameters will be empty.
Example
` Get the cell dimensions C_LONGINT($err;$width;$height) $err:=QG_GetCellOptions (xGrid;$width;$height) If ($err # qg_noErr) ` Handle the error End if |
Related commands
QG_SetCellOptions | Sets the properties of the grid cells |