Table of Contents

TTMSFNCRating Class

Interactive rating component built from discrete progress blocks.

API unit family: TMSFNCProgressBar Inherits from: TTMSFNCCustomProgressBar

Syntax

TTMSFNCRating = class(TTMSFNCCustomProgressBar)

Properties

Name Description
Appearance Controls bitmap, fill, stroke, and font appearance for rating units.
GlobalFont Global font settings applied across all text in the rating control. (inherited from TTMSFNCCustomProgressBar)
Interaction Controls pointer and keyboard behavior for changing the rating value. (inherited from TTMSFNCCustomProgressBar)
Layout Controls unit count, spacing, margins, and value text for the rating control.
Levels Collection of threshold levels that can change rating appearance at defined values. (inherited from TTMSFNCCustomProgressBar)
Maximum Upper bound of the rating value range. (inherited from TTMSFNCCustomProgressBar)
Minimum Lower bound of the rating value range. (inherited from TTMSFNCCustomProgressBar)
Value Current rating value. (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 rating block has been drawn. (inherited from TTMSFNCCustomProgressBar)
OnAfterDrawValue Fires after the rating value text has been drawn. (inherited from TTMSFNCCustomProgressBar)
OnAppearanceChanged Fires when appearance settings change. (inherited from TTMSFNCCustomProgressBar)
OnBeforeDrawBlock Fires before a rating block is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomProgressBar)
OnBeforeDrawValue Fires before rating value text is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomProgressBar)
OnChanged Fires when the rating data or state changes. (inherited from TTMSFNCCustomProgressBar)
OnKeyboardValueChange Fires before a keyboard action changes the rating value. (inherited from TTMSFNCCustomProgressBar)
OnKeyboardValueChanged Fires after a keyboard action changes the rating value. (inherited from TTMSFNCCustomProgressBar)
OnLayoutChanged Fires when layout settings change. (inherited from TTMSFNCCustomProgressBar)
OnSlideValueChange Fires before dragging changes the rating value. (inherited from TTMSFNCCustomProgressBar)
OnSlideValueChanged Fires after dragging changes the rating value. (inherited from TTMSFNCCustomProgressBar)
OnSnapValueChange Fires before pointer release snaps the rating value. (inherited from TTMSFNCCustomProgressBar)
OnSnapValueChanged Fires after pointer release snaps the rating value. (inherited from TTMSFNCCustomProgressBar)
OnValueChange Fires before the rating value changes. (inherited from TTMSFNCCustomProgressBar)
OnValueChanged Fires after the rating value changes. (inherited from TTMSFNCCustomProgressBar)

Used by