Disabling system menus

Disabling/Enabling system menu or minimize/maximize/close button at run-time

// Disable

BorderIcons := BorderIcons - [biSystemMenu, biMinimize, biMaximize];

// Enable

BorderIcons := BorderIcons + [biSystemMenu, biMinimize, biMaximize];

 

Share this article!

Follow us!

Find more helpful articles: