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