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
Need help to build FPC fo...
by
dbannon
[
Today
at 04:00:40 am]
Need help converting a C+...
by
440bx
[
Today
at 03:44:41 am]
fishing problem ;)
by
speter
[
Today
at 03:20:14 am]
Anchoring controls with d...
by
jamie
[
Today
at 02:54:45 am]
Recomendations for conver...
by
egsuh
[
Today
at 02:36:32 am]
Hints in TTrayIcon
by
dbannon
[
Today
at 02:11:20 am]
Possible LMAX Disruptor (...
by
jamie
[
Today
at 12:41:14 am]
Just Curious: When has an...
by
Martin_fr
[December 04, 2025, 11:28:44 pm]
[SOLVED] Assembler error ...
by
yurets_z
[December 04, 2025, 11:18:23 pm]
Cannot find Online Packag...
by
dseligo
[December 04, 2025, 10:57:42 pm]
TMSSQLConnection in MacOS...
by
zeljko
[December 04, 2025, 10:29:17 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]
unusual static FPC
by
PascalDragon
[December 04, 2025, 09:38:46 pm]
How to load read large CS...
by
Nimbus
[December 04, 2025, 08:29:24 pm]
Lazarus IDE problem?
by
BrunoK
[December 04, 2025, 05:52:48 pm]
Qt6 / X11: problem with G...
by
zeljko
[December 04, 2025, 04:18:33 pm]
How to use nested classes
by
440bx
[December 04, 2025, 01:59:08 pm]
Qt6 / X11 session: strang...
by
AlexTP
[December 04, 2025, 01:04:31 pm]
TShellListView empty spac...
by
jamie
[December 04, 2025, 12:20:14 pm]
Tool to create Windos set...
by
marcov
[December 04, 2025, 11:35:30 am]
IDE Watch Window colors (...
by
Martin_fr
[December 04, 2025, 11:23:38 am]
Why this code is working ...
by
Martin_fr
[December 04, 2025, 11:07:08 am]
BalloonHint in Trayicons ...
by
CM630
[December 04, 2025, 10:59:42 am]
[Solved]Lazreport Labels
by
Petrus Vorster
[December 04, 2025, 09:42:38 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: CustomDraw package compile error (lupa.bmp) (Read 1208 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