Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
Draw line under menu bar?
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
Clean up and build
by
kapibara
[
Today
at 03:15:39 am]
TDWEdit
by
Ed78z
[
Today
at 01:51:52 am]
AsyncProcess not firing O...
by
Thausand
[
Today
at 12:32:37 am]
Unleashed Pascal (async/a...
by
440bx
[
Today
at 12:18:31 am]
How to avoid duplicates i...
by
mig-31
[August 13, 2026, 05:35:46 pm]
QGradientTrackPanel: A Fu...
by
Ed78z
[August 13, 2026, 04:49:24 pm]
Memory location
by
Thaddy
[August 13, 2026, 04:01:56 pm]
TurboBird IBX
by
laguna
[August 13, 2026, 03:55:51 pm]
Which Linux version
by
Thaddy
[August 13, 2026, 03:52:06 pm]
TlsLib4Pascal
by
Xor-el
[August 13, 2026, 03:06:13 pm]
MR - DebuggerIntf for ter...
by
Martin_fr
[August 13, 2026, 12:54:22 pm]
var vs out (including "co...
by
kupferstecher
[August 13, 2026, 12:49:22 pm]
AArch64, load a constant ...
by
LemonParty
[August 13, 2026, 12:31:06 pm]
Separators in the compone...
by
CM630
[August 13, 2026, 10:29:56 am]
Lazarus undead repository...
by
Dankan1890
[August 13, 2026, 10:28:54 am]
[RE-SOLVED] Splitting an ...
by
paweld
[August 13, 2026, 09:52:15 am]
Why does Free Pascal use ...
by
MarkMLl
[August 13, 2026, 09:30:40 am]
[Qt5/Qt6] JPSupport-Qt: J...
by
szlbz
[August 13, 2026, 03:21:56 am]
Extended and XML Frames o...
by
matthius
[August 13, 2026, 01:01:09 am]
Strangely - Not a questio...
by
Bart
[August 12, 2026, 10:26:58 pm]
Selected Text get number ...
by
Martin_fr
[August 12, 2026, 09:47:56 pm]
To DebugLn or not to Debu...
by
Martin_fr
[August 12, 2026, 09:01:02 pm]
New Big Integer library i...
by
ad1mt
[August 12, 2026, 07:16:56 pm]
The best name for procedu...
by
LemonParty
[August 12, 2026, 07:02:53 pm]
'ReadStr' ?
by
J-G
[August 12, 2026, 03:37:39 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Draw line under menu bar? (Read 3135 times)
Pascaluvr
Full Member
Posts: 216
Draw line under menu bar?
«
on:
February 29, 2012, 12:57:53 pm »
I would like to be able to draw a line under my menu bar on a form.
I assume I would need to add a TCanvas to my form and draw a line on that - but - where in the IDE is the option to add a TCanvas?
Even if that is not the solution - where is this option anyway?
any help much appreciated.
Logged
Windows 7, Lazarus 1.0.8, FPC 2.6.2, SQLite 3
Blaazen
Hero Member
Posts: 3241
POKE 54296,15
Re: Draw line under menu bar?
«
Reply #1 on:
February 29, 2012, 01:06:34 pm »
In this case, rather than painting on the Canvas of a Form, you can add some component, for example Bevel: TBevel (from Additional palette) and set its property Shape to bsTopLine.
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/
Pascaluvr
Full Member
Posts: 216
Re: Draw line under menu bar?
«
Reply #2 on:
March 01, 2012, 08:32:21 am »
Thanks Blaazen - that did great. I guess I would have preferred a simple black line, but hey, it doesn't matter that much.
Thank you for the response.
Logged
Windows 7, Lazarus 1.0.8, FPC 2.6.2, SQLite 3
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
Draw line under menu bar?
TinyPortal
© 2005-2018