Table of Contents

TMS FNC Badge Guides

TTMSFNCBadge overlays a small notification badge on any visual control. It supports configurable text, colour, position anchoring, and visibility toggling — use it to display unread counts, status indicators, or alert markers on buttons, panels, and other host controls.

Topics

Topic Use when
Placement and visibility You need to attach a badge to a control, update the text, customize the badge, or constrain its position.

Key properties

Property Purpose
Control The host control the badge is anchored to.
Text The label shown inside the badge (typically a number or short string).
Visible Show or hide the badge without removing it from the host control.
Position Anchors the badge to a corner or edge of the host (bpTopLeft, bpTopRight, bpBottomLeft, bpBottomRight).
Appearance.Fill Background fill colour and style of the badge shape.
Appearance.Stroke Border stroke colour and width.
Appearance.Font Font used for the badge text.
OnPositionChange Fires when the badge position property changes.

See also