Skip to main content
Table of Contents

TTMSFNCBloxControl.OnElementPainting Event

Occurs before an element is painted, allowing the handler to take over drawing.

API unit family: TMSFNCBloxControl Declaring type: TTMSFNCBloxControl Type: TTMSFNCBloxElementPaintingEvent

Syntax

FMX.TMSFNCBloxControl.hppPascalC++
property OnElementPainting: TTMSFNCBloxElementPaintingEvent;
__property TTMSFNCBloxElementPaintingEvent OnElementPainting = {read=FOnElementPainting, write=FOnElementPainting};

Remarks

The handler receives the element and paint information; setting the painted flag to True suppresses the default drawing of the element.