Examples Delphi

Disabling/Enabling system menu or minimize/maximize/close button at run-time
// Disable
BorderIcons := BorderIcons - [biSystemMenu, biMinimize, biMaximize];
// Enable
BorderIcons := BorderIcons + [biSystemMenu, biMinimize, biMaximize];