Table of Contents

TTMSFNCRibbonForm Class

Base form class for applications that host a TTMSFNCRibbon; provides borderless window chrome, edge-based resizing, and keyboard shortcut-hint routing.

API unit family: TMSFNCRibbon Inherits from: TForm Implements: ITMSFNCBitmapContainer

Syntax

TTMSFNCRibbonForm = class(TForm, ITMSFNCBitmapContainer)

Methods

Name Description
DoPaint Paints the custom ribbon form chrome over the FMX canvas.
MouseDown Handles mouse-button press for borderless window drag and edge-resize hit-testing.
MouseMove Handles mouse movement for borderless window drag and cursor updates during edge-resize.
MouseUp Handles mouse-button release to end borderless window drag or edge-resize.
Paint Paints the custom ribbon form chrome over the VCL or WEB canvas.
Resize Updates ribbon element positions after the form is resized.
SetBounds Sets the form bounds and adjusts the ribbon layout and custom chrome for the new size.