TTMSFNCGraphics.DrawDropDownButton Method
Renders a native-style drop-down arrow button within
ARect(TRectF).
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Overloads
Overload 1
Renders a native-style drop-down arrow button within
ARect(TRectF).
procedure DrawDropDownButton(ARect: TRectF; ADown: Boolean = False; AFocused: Boolean = False; AEnabled: Boolean = True; ACenter: Boolean = False; AAdaptToStyle: Boolean = True; AScaleFactor: Single = 1.0); overload; virtual;
Parameters
| Name | Description |
|---|---|
ARect |
Bounding rectangle for the drop-down button. |
ADown |
When True, the button is drawn in the pressed state. Default is False. |
AFocused |
When True, the button is drawn with a focus indicator. Default is False. |
AEnabled |
When True, the button is drawn in the enabled state. Default is True. |
ACenter |
When True, the arrow glyph is centered within the button rectangle. Default is False. |
AAdaptToStyle |
When True, the button colors adapt to the active VCL/FMX style. Default is True. |
AScaleFactor |
DPI scale factor applied to glyph sizing. Default is 1.0. |
Overload 2
Renders a native-style drop-down arrow button within
ARect(TRect).
procedure DrawDropDownButton(ARect: TRect; ADown: Boolean = False; AFocused: Boolean = False; AEnabled: Boolean = True; ACenter: Boolean = False; AAdaptToStyle: Boolean = True; AScaleFactor: Single = 1.0); overload; virtual;
Parameters
| Name | Description |
|---|---|
ARect |
Bounding rectangle for the drop-down button, in integer pixels. |
ADown |
When True, the button is drawn in the pressed state. Default is False. |
AFocused |
When True, the button is drawn with a focus indicator. Default is False. |
AEnabled |
When True, the button is drawn in the enabled state. Default is True. |
ACenter |
When True, the arrow glyph is centered within the button rectangle. Default is False. |
AAdaptToStyle |
When True, the button colors adapt to the active VCL/FMX style. Default is True. |
AScaleFactor |
DPI scale factor applied to glyph sizing. Default is 1.0. |