animationeffect Close method
Return to Introduction  Previous page  Next page
Applies to
acAnimationEffect component.  

Declaration
procedure Close;  

Description
The Close method draws smooth animation effect which simulate closing of window.  

Example
procedure TMainForm.ButtonClick(Sender: TObject);  
begin  
  with TAboutForm.Create(Application) do  
   try  
     acAnimationEffect1.Open;  
     ShowModal;  
     acAnimationEffect1.Close;  
   finally  
     Free;  
   end;  
end;  

See also
EffectType property and example of usage of the Close method.  
Open method and OnOpenEffect and OnCloseEffect events.