Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
To cancel 'maximize' button of form
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Run code during DLL load
by
Thaddy
[
Today
at 06:44:17 am]
paszlib. Feature request ...
by
Tomxe
[
Today
at 06:20:43 am]
Portable verion of FPC an...
by
Thaddy
[
Today
at 06:07:32 am]
Death of the Power User
by
440bx
[
Today
at 05:47:41 am]
Linking a PortAudio stati...
by
bbrx
[May 20, 2026, 08:02:20 pm]
text color visible
by
wp
[May 20, 2026, 07:02:24 pm]
How to wait until a WebDA...
by
Hartmut
[May 20, 2026, 04:36:03 pm]
Anubis activated
by
rvk
[May 20, 2026, 02:09:42 pm]
IDE Windows Centered
by
zeljko
[May 20, 2026, 01:51:37 pm]
QuotedStr
by
wp
[May 20, 2026, 12:52:30 pm]
LazNodeEditor (visual nod...
by
gidesa
[May 20, 2026, 12:36:09 pm]
TMemoryStream, manual mem...
by
marcov
[May 20, 2026, 12:16:31 pm]
LZMA, LZMA2 and XZ
by
LemonParty
[May 20, 2026, 11:24:36 am]
Anubis's website security...
by
ALLIGATOR
[May 20, 2026, 11:21:32 am]
Problem with upgrading to...
by
paweld
[May 20, 2026, 08:25:45 am]
[SOLVED] wildcard utiliti...
by
mas steindorff
[May 20, 2026, 08:21:18 am]
Can /my/ AI help me with ...
by
microxa
[May 20, 2026, 06:25:26 am]
[CLOSED] Temp file CGI000...
by
Thaddy
[May 20, 2026, 06:04:41 am]
Cannot get FTP to work
by
Remy Lebeau
[May 20, 2026, 01:39:32 am]
[SOLVED] Limiting Search ...
by
jamie
[May 20, 2026, 01:32:11 am]
ERROR: The current FPC ha...
by
BubikolRamios
[May 19, 2026, 11:49:03 pm]
Lazarus IDE on Kubuntu lo...
by
backprop
[May 19, 2026, 08:51:53 pm]
Flamerobin error-message
by
maurog
[May 19, 2026, 08:07:45 pm]
Esri shapefile writer
by
Hansvb
[May 19, 2026, 08:06:03 pm]
Feature suggestion - repe...
by
Warfley
[May 19, 2026, 07:38:40 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: To cancel 'maximize' button of form (Read 10825 times)
asdf
Sr. Member
Posts: 310
To cancel 'maximize' button of form
«
on:
March 28, 2011, 06:09:56 am »
How can I cancel these two buttons in Form1 ?
Logged
Lazarus 1.2.4 / Win 32 / THAILAND
typo
Hero Member
Posts: 3051
Re: To cancel 'maximize' button of form
«
Reply #1 on:
March 28, 2011, 06:19:17 am »
Through the BorderIcons Form's property.
Logged
LazarusBrasil.Org
TurboRascal
Hero Member
Posts: 672
"Good sysadmin. Bad programmer."™
Re: To cancel 'maximize' button of form
«
Reply #2 on:
March 28, 2011, 10:14:09 am »
Or set BorderStyle to bsSingle. That also makes the form non-resizeable, in case you need that (or not).
Logged
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics
asdf
Sr. Member
Posts: 310
Re: To cancel 'maximize' button of form
«
Reply #3 on:
March 28, 2011, 03:54:23 pm »
The button is still visible.
Is there any way to make it invisible ?
Logged
Lazarus 1.2.4 / Win 32 / THAILAND
fabienwang
Sr. Member
Posts: 449
Lazarus is the best
Re: To cancel 'maximize' button of form
«
Reply #4 on:
March 28, 2011, 04:25:10 pm »
Quote from: asdf on March 28, 2011, 03:54:23 pm
The button is still visible.
Is there any way to make it invisible ?
The maximize button can be hidden only if Minimize button is hidden.
As typo said, check the BorderIcons property of the form and disable maximize and minimize buttons
Logged
I'm using
Arch Linux
.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint
Blaazen
Hero Member
Posts: 3241
POKE 54296,15
Re: To cancel 'maximize' button of form
«
Reply #5 on:
March 28, 2011, 04:52:35 pm »
Maximize button is hidden with bsSingle, bsDialog.
Minimize button is hiddenwith bsToolWin.
It seems bordericons settings makes no influence.
I am on Linux+Qt.
Logged
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
To cancel 'maximize' button of form
TinyPortal
© 2005-2018