QGrid
![]() |
![]() ![]() |
QG_GetAreaFlags(areaRef; areaFlags):errorCode | |||
![]() |
areaRef | Longint | QGrid area reference |
![]() |
areaFlags | Longint | Area flag options |
![]() |
error | Longint | Error result |
Returns 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 receives a set of flags. The received value can be tested for specific options by bitwise "and" of any of the mask constants. Alternatively, you can test individual bits of the areaFlags parameter using 4D's "Bit test" (??) bitwise operator. 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_SetAreaFlags | Configures various options of a QGrid plug-in area |