Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
CustomDraw package compile error (lupa.bmp)
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
can't add new treenode
by
Martin_fr
[
Today
at 12:29:25 pm]
Need help converting a C+...
by
Zvoni
[
Today
at 12:21:24 pm]
"F2": possible bug in IDE...
by
jamie
[
Today
at 12:17:28 pm]
How to load read large CS...
by
Xenno
[
Today
at 12:08:44 pm]
$ifdef highlighting
by
Martin_fr
[
Today
at 11:26:52 am]
Lazarus Bugfix Release 4...
by
Martin_fr
[
Today
at 11:11:18 am]
Qt6 / X11: problem with G...
by
AlexTP
[
Today
at 11:11:08 am]
Any way to exclude terms ...
by
Martin_fr
[
Today
at 11:02:03 am]
Devin - my new lover (CEF...
by
Nicole
[
Today
at 10:16:35 am]
Why this code is working ...
by
Tommi
[
Today
at 09:53:10 am]
BalloonHint in Trayicons ...
by
CM630
[
Today
at 09:47:18 am]
About ORM framework
by
cdbc
[
Today
at 09:27:58 am]
Need help with compiling ...
by
Thausand
[
Today
at 08:33:29 am]
TMSSQLConnection in MacOS...
by
Zvoni
[
Today
at 08:26:26 am]
[SOLVED] Assembler error ...
by
Thausand
[
Today
at 08:22:45 am]
Recomendations for conver...
by
paweld
[
Today
at 07:44:53 am]
Possible LMAX Disruptor (...
by
Thaddy
[
Today
at 07:39:42 am]
Need help to build FPC fo...
by
dbannon
[
Today
at 04:00:40 am]
fishing problem ;)
by
speter
[
Today
at 03:20:14 am]
Anchoring controls with d...
by
jamie
[
Today
at 02:54:45 am]
Hints in TTrayIcon
by
dbannon
[
Today
at 02:11:20 am]
Just Curious: When has an...
by
Martin_fr
[December 04, 2025, 11:28:44 pm]
Cannot find Online Packag...
by
dseligo
[December 04, 2025, 10:57:42 pm]
Compiled package
by
Ed78z
[December 04, 2025, 10:26:14 pm]
ddebian 12 input err!
by
PascalDragon
[December 04, 2025, 09:39:53 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: CustomDraw package compile error (lupa.bmp) (Read 1210 times)
wp
Hero Member
Posts: 13264
Re: CustomDraw package compile error (lupa.bmp)
«
Reply #15 on:
November 08, 2025, 01:00:02 am »
That's great. So, BGRAControls seems to be a practicable way to use CustomDrawn (I see in "test_bgracustomdrawn" that you are just using the BGRA-versions of CustomDrawn controls without switching the widgetset to customdrawn).
Quote from: lainz on November 07, 2025, 11:14:40 pm
The demo is available with BGRAControls.
I found "test_bgracustomdrawn", it's the one that is shown in
https://wiki.freepascal.org/Lazarus_Custom_Drawn_Controls#BGRAControls_Custom_Drawn_default_style
. But is there also a demo for the other screenshows on the wiki page?
BTW: test_bgracustomdraw reports a series of memory leaks when HeapTrc is activated. It goes away when I remove the four BCDRadioButtons, and it returns when I add another BCDRadioButton.
Logged
lainz
Hero Member
Posts: 4738
Web, Desktop & Android developer
Re: CustomDraw package compile error (lupa.bmp)
«
Reply #16 on:
November 08, 2025, 04:15:52 am »
There's the windows 7 custom drawn style somewhere in the bgracontrols folder.
It uses bitmaps png to draw.
https://github.com/bgrabitmap/bgracontrols/tree/master/test%2Ftest_extra%2Fslicescaling_customdrawn_win7
«
Last Edit: November 08, 2025, 04:33:31 am by lainz
»
Logged
https://lainz.github.io/
wp
Hero Member
Posts: 13264
Re: CustomDraw package compile error (lupa.bmp)
«
Reply #17 on:
November 08, 2025, 06:54:28 pm »
Unfortunately, it crashes with an access violation in bgraslicescaling, inside TCDWin7.DrawButton (win7.FButton still being nil here).
Logged
lainz
Hero Member
Posts: 4738
Web, Desktop & Android developer
Re: CustomDraw package compile error (lupa.bmp)
«
Reply #18 on:
November 09, 2025, 01:21:58 pm »
Hi, it works here with lazarus 4.0, Windows 11
Logged
https://lainz.github.io/
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
CustomDraw package compile error (lupa.bmp)
TinyPortal
© 2005-2018