component TacComponent class
Hierarchy
Return to Introduction 
Unit
acClasses  

Declaration
type  
  TacComponent = class(TComponent)  
  public  
    property Parent: TWinControl;  
    property ParentForm: TForm;   // read-only  
 
    procedure ShowParentForm;  
  end;  

Description
The TacComponent class is the base class for ALL invisible components of AppControls pack. It contains the Parent property — pointer to the owner form or owner control (must be a TWinControl or its successor!). The ParentForm is the same as Parent, but returns pointer with the TForm type.  
 
The ShowParentForm procedure can be used to bring the parent form to the front, over other windows, and restore it if it was minimized. This function will only take effect if the owner of TacComponent is the form.  

See also
TacFormHookComponent and TacAppHookComponent classes.