...know if the form is modal?

Author: David Carboni

Category: Forms

procedure TForm1.Button1Click(Sender: TObject);
begin
  if 
(fsModal in FormState) then
    
ShowMessage('Form is modal.');
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base