QGrid
![]() |
![]() ![]() |
QG_SetAreaFlags(areaRef; areaFlags):errorCode | |||
![]() |
areaRef | Longint | QGrid area reference |
![]() |
areaFlags | Longint | Area flag options |
![]() |
error | Longint | Error result |
Configures various options of a QGrid plug-in area.
The QGrid plug-in area is specified by areaRef. If areaRef is not a valid QPix plug-in area reference, qg_paramErr is returned.
Parameter areaFlags is a set of flags. Construct it by bitwise "or" of any of the mask constants. Alternatively, you can set or clear individual bits of the areaFlags parameter using 4D's "Bit set" (?+) and "Bit clear" (?-) bitwise operators. Use the flag constants to address specific flags:
qg_MiniScrollbars | 1 | Narrower scrollbars |
qg_PropScrollbars | 9 | Proportional scrollbars |
qg_LiveScrolling | 10 | Live scrolling (Mac-only) |
qg_CellScroll | 21 | Scroll by whole cells |
qg_TooltipsEnabled | 22 | Display tooltips with the cell caption text |
qg_MiniScrollbarsMask | 2 | Mask for narrower scrollbars |
qg_PropScrollbarsMask | 0x00000200 | Mask for proportional scrollbars |
qg_LiveScrollingMask | 0x00000400 | Mask for live scrolling (Mac-only) |
qg_CellScrollMask | 0x00200000 | Mask for scrolling by whole cells |
qg_TooltipsEnabledMask | 0x00400000 | Mask for displaying tooltips with the cell caption text |
Related commands
QG_GetAreaFlags | Returns various options of a QGrid plug-in area |