Skip to content

TTMSFNCBloxSelector

Methods

Method name Description
BeginUpdate Blocks all visual updates. Needs to be paired with EndUpdate;
EndUpdate Blocks all visual updates. Needs to be paired with BeginUpdate; When EndUpdate is called, the control is automatically recalculated/repainted
Rebuild Completely rebuilds the toolbar, re-initializes the registered elements and re-configures the default appearance of the selector
XYToItem(X, Y: Single): Integer; Returns an item at a specific X and Y coordinate

Events

Events name Description
OnAfterDraw Event called after all the elements of the selector are drawn
OnBeforeDraw Event called before all the elements of the selector are drawn
OnItemAfterDrawBackground Event called after the background of an item is drawn
OnItemAfterDrawContent Event called after the content of an item is drawn
OnItemAfterDrawText Event called after the text of an item is drawn
OnItemBeforeDrawBackground Event called before the background of an item is drawn
OnItemBeforeDrawContent Event called before the content of an item is drawn
OnItemBeforeDrawText Event called before the text of an item is drawn
OnItemClick Event called when an item is clicked
OnItemSelected Event called when an item is selected