Skip to main content
Table of Contents

TTMSFNCCustomControl.GetCheckBoxBitmap Method

Returns the native OS checkbox bitmap for use in custom drawing. Pass AChecked, AFocused, and AEnabled to select the appropriate visual state.

API unit family: TMSFNCCustomControl Declaring type: TTMSFNCCustomControl

Syntax

FMX.TMSFNCCustomControl.hppPascalC++
function GetCheckBoxBitmap(AChecked: Boolean = False; AFocused: Boolean = False; AEnabled: Boolean = True): TTMSFNCBitmapHelperClass; virtual;
virtual TTMSFNCBitmapHelperClass* __fastcall GetCheckBoxBitmap(bool AChecked = false, bool AFocused = false, bool AEnabled = true);

Parameters

Name Description
AChecked When True, returns the checked-state bitmap.
AFocused When True, returns the focused-state bitmap.
AEnabled When False, returns the disabled-state bitmap.

Returns

The bitmap helper for the requested checkbox state.