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
I hope FreePascal can sup...
by
xiyi0616
[
Today
at 03:57:43 am]
Weird error
by
n7800
[
Today
at 02:31:23 am]
How to merge multiple cla...
by
cdbc
[
Today
at 02:16:37 am]
Remote desktop software i...
by
Boleeman
[
Today
at 12:59:14 am]
AI assisted translation o...
by
schuler
[April 13, 2026, 10:41:29 pm]
FPC Unleashed (inline var...
by
Fibonacci
[April 13, 2026, 09:21:04 pm]
fp-h2pas: New C header tr...
by
Gustavo 'Gus' Carreno
[April 13, 2026, 06:32:22 pm]
Nezplug Library Player
by
Gigatron
[April 13, 2026, 04:15:33 pm]
Eschecs (UCI chess GUI) 5...
by
Roland57
[April 13, 2026, 04:10:12 pm]
[ANN] fpGUI Toolkit v2.0....
by
cdbc
[April 13, 2026, 03:14:21 pm]
Lazarus Bugfix Release 4....
by
dbannon
[April 13, 2026, 01:52:18 pm]
Strange happenings with T...
by
jamie
[April 13, 2026, 12:41:42 pm]
Little bit...
by
jamie
[April 13, 2026, 12:17:43 pm]
Necromancer's Dos Navigat...
by
dbannon
[April 13, 2026, 11:03:26 am]
Can't pass string to TEdi...
by
cdbc
[April 13, 2026, 10:13:44 am]
Fixed Bzip2 unpacker from...
by
domasz
[April 13, 2026, 08:09:54 am]
Ann: DeCoperators
by
Thaddy
[April 13, 2026, 07:37:29 am]
Bad Sandwich
by
Guva
[April 12, 2026, 09:55:25 pm]
ZeosDB and sqlite3
by
dseligo
[April 12, 2026, 09:06:22 pm]
The ever re-appearing /= ...
by
Thaddy
[April 12, 2026, 08:07:09 pm]
Some Lazarus Graphics Rel...
by
Boleeman
[April 12, 2026, 03:45:30 pm]
Some Lazarus Utils N Stuf...
by
Boleeman
[April 12, 2026, 03:39:45 pm]
Ann: Deinline: a de-inlin...
by
Fred vS
[April 12, 2026, 03:17:40 pm]
BAScript - Simple scripti...
by
Ñuño_Martínez
[April 12, 2026, 01:00:21 pm]
NiceGrid component for La...
by
Alexandr R
[April 12, 2026, 11:02:54 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: To cancel 'maximize' button of form (Read 10800 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