Vcl.Ribbon.TCustomRibbon.Active
Delphi
property Active: Boolean read FActive write SetActive;
C++
__property bool Active = {read=FActive, write=SetActive, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | TCustomRibbon |
Description
Indicates if form that ribbon is placed on is active form.
Active indicates if the form that the ribbon is placed on is the active form of the desktop.
There should be no need for a user to set the Active property unless they are not using the custom frame functionality of the ribbon. The appearance of the ribbon changes depending on the value of this property.
If the form that the ribbon is placed on does not descend from TRibbonForm, the user should update the Active property when the form gets activated and deactivated.