Table of Contents

TTMSFNCProgressBar Class

Visual progress bar component with level-based styling and optional value display.

API unit family: TMSFNCProgressBar Inherits from: TTMSFNCCustomProgressBar

Syntax

TTMSFNCProgressBar = class(TTMSFNCCustomProgressBar)

Properties

Name Description
Appearance Controls fill, stroke, font, and level appearance of the progress bar. (inherited from TTMSFNCCustomProgressBar)
CustomValue Custom text displayed instead of the numeric value when ValueType is pvtCustom. (inherited from TTMSFNCCustomProgressBar)
GlobalFont Global font settings applied across all text in the control. (inherited from TTMSFNCCustomProgressBar)
Layout Controls margins, block count, text display, and shape of the progress bar. (inherited from TTMSFNCCustomProgressBar)
Levels Collection of threshold levels that change the bar appearance at defined values. (inherited from TTMSFNCCustomProgressBar)
Maximum Upper bound of the progress value range. (inherited from TTMSFNCCustomProgressBar)
Minimum Lower bound of the progress value range. (inherited from TTMSFNCCustomProgressBar)
Value Current progress value, clamped between Minimum and Maximum. (inherited from TTMSFNCCustomProgressBar)

Methods

Name Description
Draw Draws the progress bar into the specified rectangle. (inherited from TTMSFNCCustomProgressBar)

Events

Name Description
OnAfterDrawBlock Fires after a block segment is drawn. (inherited from TTMSFNCCustomProgressBar)
OnAfterDrawValue Fires after the value text is drawn. (inherited from TTMSFNCCustomProgressBar)
OnAppearanceChanged Fires when the appearance settings change. (inherited from TTMSFNCCustomProgressBar)
OnBeforeDrawBlock Fires before a block segment is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomProgressBar)
OnBeforeDrawValue Fires before the value text is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomProgressBar)
OnChanged Fires when the control's data or state changes. (inherited from TTMSFNCCustomProgressBar)
OnLayoutChanged Fires when the layout settings change. (inherited from TTMSFNCCustomProgressBar)
OnLevelsChanged Fires when the levels collection changes. (inherited from TTMSFNCCustomProgressBar)

Used by