Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1683
  • Last Modified:

How do I programmatically remove border icons in Delphi ?

I want to temporarily, programmatically, remove the border icons on my main form. I have tried such things as MainForm.BorderIcons.biSystemMenu := False; But this doesn't work. How do I do this ?
0
ChLa
Asked:
ChLa
1 Solution
 
Sinisa VukCommented:
this way remove:
MainForm.BorderIcons := MainForm.BorderIcons - [biSystemMenu];

Open in new window


and this way add again:
MainForm.BorderIcons := MainForm.BorderIcons + [biSystemMenu];

Open in new window

0
 
ChLaAuthor Commented:
Thank You
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now