Solved

How do I programmatically remove border icons in Delphi ?

Posted on 2014-10-15
2
1,307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tembedded WB animatid gifs not animated on some pcs 2 89
tvirtualstringtree freeze when load too manny images 10 88
Dynamically Created Query 3 76
Problem to App 4 141
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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 the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

739 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