Solved

How do I programmatically remove border icons in Delphi ?

Posted on 2014-10-15
2
1,238 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

821 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