RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRibbon.Active Property

Indicates if form that ribbon is placed on is active form.

Pascal
property Active: Boolean;
C++
__property Boolean Active;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!