Table of Contents

TTMSFNCGraphics.DrawCheckBox Method

Renders a native-style check box within ARect (TRectF).

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Overloads

Overload 1

Renders a native-style check box within ARect (TRectF).

procedure DrawCheckBox(ARect: TRectF; AChecked: Boolean = False; AFocused: Boolean = False; AEnabled: Boolean = True; AScaleFactor: Single = 1.0); overload; virtual;

Parameters

Name Description
ARect Bounding rectangle for the check box.
AChecked When True, the check box is drawn in the checked state. Default is False.
AFocused When True, the check box is drawn with a focus indicator. Default is False.
AEnabled When True, the check box is drawn in the enabled state. Default is True.
AScaleFactor DPI scale factor applied to glyph sizing. Default is 1.0.

Overload 2

Renders a native-style check box within ARect (TRect).

procedure DrawCheckBox(ARect: TRect; AChecked: Boolean = False; AFocused: Boolean = False; AEnabled: Boolean = True; AScaleFactor: Single = 1.0); overload; virtual;

Parameters

Name Description
ARect Bounding rectangle for the check box, in integer pixels.
AChecked When True, the check box is drawn in the checked state. Default is False.
AFocused When True, the check box is drawn with a focus indicator. Default is False.
AEnabled When True, the check box is drawn in the enabled state. Default is True.
AScaleFactor DPI scale factor applied to glyph sizing. Default is 1.0.