Solved

How do I programmatically remove border icons in Delphi ?

Posted on 2014-10-15
2
1,186 Views
Last Modified: 2014-10-15
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
Comment
Question by:ChLa
2 Comments
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 40382836
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
 

Author Closing Comment

by:ChLa
ID: 40383092
Thank You
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
This article will show, step by step, how to integrate R code into a R Sweave document
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question