QMedical Command Reference
![]() |
![]() ![]() |
QMed_SetAreaFlags(areaRef; areaFlags):error | |||
![]() |
areaRef | Longint | QMedical area reference |
![]() |
areaFlags | Longint | Area flags |
![]() |
error | Longint | Error result |
Configures various options of a QMedical plug-in area.
The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.
Parameter areaFlags is a set of flags. Construct it by bitwise "or" of any of the flag 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:
qmed_ModifiableFlag | 2 | Modifiable area content |
qmed_TabableFlag | 3 | Tabable area |
qmed_HideHorzScrollFlag | 5 | Hide horizontal scrollbar |
qmed_HideVertScrollFlag | 6 | Hide vertical scrollbar |
qmed_PropScrollbarsFlag | 9 | Use proportional scrollbars |
qmed_LiveScrollingFlag | 10 | Enable live scrolling |
qmed_ModifiableMask | 0x0004 | Mask for modifiable area property |
qmed_TabableMask | 0x0008 | Mask for tabable property |
qmed_HideHorzScrollMask | 0x0020 | Mask for hiding horizontal scrollbar |
qmed_HideVertScrollMask | 0x0040 | Mask for hiding vertical scrollbar |
qmed_PropScrollbarsMask | 0x0200 | Mask for using proportional scrollbars |
qmed_LiveScrollingMask | 0x0400 | Mask for enabling live scrolling |
qmed_SmoothZoomingFlag | 11 | Smooth zooming |
qpx_SmoothZoomingMask | 0x0800 | Mask for smooth zooming |
Example
`Set area to modifiable C_LONGINT($error) C_LONGINT($areaFlags) $areaFlags:=qmed_ModifiableMask $error:=QMed_SetAreaFlags (gAreaRef;$areaFlags) |
Related commands
QMed_GetAreaFlags | Returns various configuration options of a QMedical plug-in area |