formtopmost OnTopmostChanged event
Return to Introduction  Previous page  Next page
Applies to
acFormTopmost component.  

  TacFormTopmostChangedEvent = procedure(Sender: TObject; Topmost: Boolean) of object;  
property OnTopmostChanged: TacFormTopmostChangedEvent;  

The OnTopmostChanged event occurs when Z order of the form changed to topmost or non-topmost. Write the OnTopmostChanged event handler to perform special processing when the form's topmost status is changed. Current topmost status of the form passes to Topmost parameter of the event handler.  

See also
Topmost property.