Table of Contents

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 TTMSFNCStatusBarPanel in Panels. Build it in the Object Inspector or at runtime inside BeginUpdate/EndUpdate.
  • One auto-sizing panel. Give the main text panel AutoSize := True and the rest fixed Width values, so the layout is predictable.
  • Index-based clicks. Set a panel's Button := True to make it interactive; OnPanelLeftClick/OnPanelRightClick then report the clicked panel's index.