know if the form is modal

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

swissdelphicenter.ch

Comments

Popular posts from this blog

Shape a form to a bitmap

Making the Enter Key act like Tab (Delphi Tips)