TMS FNC Status Bar User Guide
TTMSFNCStatusBar is a multi-panel status bar for the bottom of a window. It hosts a collection of independent Panels, each with its own Style, Width, alignment, and click behaviour. A single panel can show plain or clipped text, HTML with anchor links, an image or image sequence from a bitmap container, the current date or time, a colour-thresholded progress bar, an embedded control, or fully owner-drawn content. This guide covers building the panel collection, each panel style, progress tracking, links and controls, and click handling.
Topics
| Guide | Description |
|---|---|
| Status Bar Guide | Adding panels, the nine panel styles, progress bars with colour thresholds, image panels, links and embedded controls, click events, owner draw, and a combination example. |
Key concepts
- Panels collection. Everything is a
TTMSFNCStatusBarPanelinPanels. Build it in the Object Inspector or at runtime insideBeginUpdate/EndUpdate. - One auto-sizing panel. Give the main text panel
AutoSize := Trueand the rest fixedWidthvalues, so the layout is predictable. - Index-based clicks. Set a panel's
Button := Trueto make it interactive;OnPanelLeftClick/OnPanelRightClickthen report the clicked panel's index.