QMedical Command Reference
![]() |
![]() ![]() |
QMed_GetAreaStyle(areaRef; displayFormat; frameStyle; focusRing):error | |||
![]() |
areaRef | Longint | QMedical area reference |
![]() |
displayFormat | Longint | Display format |
![]() |
frameStyle | Longint | Frame style |
![]() |
focusRing | Longint | Focus ring style |
![]() |
error | Longint | Error result |
Returns the visual appearance configuration 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 displayFormat receives the plug-in area display format. It can be one of the following constants:
qmed_PictScrolling | 0 | Picture has scrollbars |
qmed_PictTruncCentered | 1 | Picture is truncated to the area rectangle size and centered in it |
qmed_PictScaledToFit | 2 | Picture is scaled up or down separately across each dimension to fit the current area rectangle |
qmed_PictTruncNonCenter | 4 | Picture is truncated to the area rectangle size and placed top left |
qmed_PictScaledToFitProp | 5 | Picture is scaled down proportionally to fit the current area rectangle and placed top left |
qmed_PictScaledToFitPropCenter | 6 | Picture is scaled down proportionally to fit the current area rectangle and centered |
Parameter frameStyle receives the area frame style. It can be one of the following constants:
qmed_PlainFrame | 0 | Puts a black one-pixel frame around the area |
qmed_SunkenFrame | 1 | Puts a sunken-style frame around the area |
qmed_NoneFrame | 3 | No frame |
Parameter focusRing receives the style of the area focus ring. It can be one of the following constants:
qmed_NoFocus | 0 | No focus indication |
qmed_SmokedFocus | 1 | Cool, smoke-style focus indication |
Example
`Get the visual appearance of the plugin area C_LONGINT($error) C_LONGINT($displayFormat;$frameStyle;$focusStyle) $error:=QMed_GetAreaStyle (gAreaRef;$displayFormat;$frameStyle;$focusStyle) |
Related commands
QMed_SetAreaStyle | Configures the visual appearance of a QMedical plug-in area |