Topic: How to manage the form window's buttons
Hi Dmitry
how could we create a form with only the "close" button (red button with cross) or without this button?
My Visual Database → General → How to manage the form window's buttons
Hi Dmitry
how could we create a form with only the "close" button (red button with cross) or without this button?
Hello,
Yes.
A form with only the "close"
procedure Form1_OnShow (Sender: string; Action: string);
begin
Form1.BorderIcons := biSystemMenu;
end;
A form without buttons
procedure Form1_OnShow (Sender: string; Action: string);
begin
Form1.BorderIcons := 0;
end;
Great, thanks Dmitry!
And how to manage ShowMessage border icons like the example below where I want to remove the close icon?
procedure MenuClick6 (Sender: string);
begin
ShowMessage('Version 1.0.0 Date 2015/07/08');
end;
ShowMessage don't have this option.
My Visual Database → General → How to manage the form window's buttons
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi