appbar OnHiding event
Example
Return to Introduction  Previous page  Next page
Applies to
acAppBar component.  

Declaration
type  
  TacAppBarHidingEvent = procedure(Sender: TObject; var AllowOperation: Boolean) of object;  
 
property OnHiding: TacAppBarHidingEvent;  

Description
The OnHiding event occurs when the docked appbar with AutoHide = True is about to hide from screen. This event occurs when the appbar losing focus (user activates another program) and appbar disappears from screen.  
 
Set AllowOperation parameter in the event handler to False to discard the operation. See an example for more details.  

Remarks
The OnHiding and OnUnhiding events does not occurs when you call ShowHiddenAppBar method programatically.  

See also
AutoHide property and OnUnhiding event.