QGrid
![]() |
![]() ![]() |
QG_GetAreaStyle(areaRef; frameStyle; focusRing):errorCode | |||
![]() |
areaRef | Longint | QGrid area reference |
![]() |
frameStyle | Longint | Frame style |
![]() |
focusRing | Longint | Focus ring style |
![]() |
error | Longint | Error result |
Returns the visual appearance configuration of a QGrid plug-in area.
Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.
Parameter frameStyle receives the area frame style. It can be one of the following constants:
qg_PlainFrame | 0 | Puts a black one-pixel frame around the area |
qg_SunkenFrame | 1 | Puts a sunken-style frame around the area |
qg_NoneFrame | 3 | No frame |
Parameter focusRing receives the style of the area focus ring. It can be one of the following constants:
qg_NoFocus | 0 | No focus indication |
qg_SmokedFocus | 1 | Smoke-style focus indication |
Example
C_LONGINT($err;$frame;$focus) $err:=QG_GetAreaStyle(xGrid;$frame;$focus) If ($err # qg_noErr) ` Handle the error End if |
Related commands
QG_SetAreaStyle | Configures the visual appearance of a QGrid plug-in area |