TAdvOfficeStatusBar is a highly versatile, feature-rich status bar component included in the TMS VCL UI Pack for Delphi and C++ Builder. It is designed to replace the basic standard VCL TStatusBar, allowing developers to build modern, professional, Microsoft Office-style and Windows-themed user interfaces with advanced formatting, built-in mini-controls, and rich styling options. šØ 1. Modern Theming & Global Styling
Instead of manually coloring individual panels, TAdvOfficeStatusBar utilizes a central styling architecture to quickly achieve cohesive visual designs.
Component Styling: Drop a TAdvOfficeStatusBarOfficeStyler component onto your form and link it to the status bar’s Styler property.
Predefined Look-and-Feels: You can switch between built-in styles like Windows 7, Windows ⁄11 Terminal, or various Office themes (e.g., Office 2016, 2019, 365 Blue/Silver/Dark) by setting the Style property.
Global Application Synchronization: It naturally integrates with the global TAdvFormStyler and TAdvAppStyler engines. This means changing your applicationās theme from “Light” to “Dark” instantly updates the status bar background, text borders, and dividers simultaneously. š§© 2. Multi-Functional Panels (The Panels Collection)
While standard status bars only accept basic strings, TAdvOfficeStatusBar manages a collection of advanced panels, each configured via its Style property to handle dedicated UI requirements: psText: Displays standard or micro-formatted text captions.
psHTML: Renders rich text natively using a built-in lightweight HTML engine. You can embed hyperlinks, add font variations, and render badges directly inside a single status panel.
psProgress: Embeds a functional, smoothly animated progress bar right into a status sliceāperfect for indicating long-running background tasks, file downloads, or saving progress.
psImage: Dedicates a panel specifically to housing a high-fidelity image or status icon.
psDateTime: Automatically tracks and displays the localized, real-time system date and time without requiring an underlying background TTimer component. š» 3. Hosting Complex Interactive Controls
A core feature of a modern workspace UI (similar to the Zoom sliders or Page Layout toggles found at the bottom of Microsoft Word) is the ability to hold active UI elements.
The Control Property: Any standard VCL or TMS controlāsuch as a tracker bar (TTrackBar), a modern toggle switch (TAdvToggleSwitch), or standard buttons (TButton)ācan be dropped onto the form and mapped directly to a panel item.
Seamless Alignment: Once assigned, the status bar acts as a container, handling all positioning bounds and locking the interactive control cleanly into its respective panel slot. š 4. High-DPI Scaling and Technical Enhancements
Modern software development requires layouts that do not break across differing monitor resolutions.
TAdvOfficeStatusBar Office 2003 / 2007 style statusbar control
Leave a Reply