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
; after then
by
n7800
[
Today
at 09:51:10 pm]
[ANN] fpGUI Toolkit v2.0....
by
cdbc
[
Today
at 09:40:04 pm]
Reverting to Old AnchorDo...
by
dsiders
[
Today
at 09:32:39 pm]
Form designer on MAC: Des...
by
tk
[
Today
at 09:29:44 pm]
Select rectangle of the i...
by
Phoenix
[
Today
at 09:28:35 pm]
Fast Canvas Library V1.05...
by
backprop
[
Today
at 08:15:33 pm]
Strange Error in My Code ...
by
bytebites
[
Today
at 07:55:44 pm]
TRichMemo EM_FORMATRANGE ...
by
rvk
[
Today
at 07:54:30 pm]
[SOLVED] Sort DBGrid
by
Hansvb
[
Today
at 07:49:56 pm]
fpGUI Toolkit v2.0.1 has ...
by
Graeme
[
Today
at 07:43:51 pm]
Fixing Lazarus 4.4 IDE la...
by
mdalacu
[
Today
at 06:59:50 pm]
[SOLVED] Lazarus recompil...
by
Hartmut
[
Today
at 06:00:38 pm]
Lazarus for Windows on aa...
by
AlexTP
[
Today
at 05:57:57 pm]
Status of FPC 3.4.0 or FP...
by
creaothceann
[
Today
at 05:42:35 pm]
Debian removes FPC/Lazaru...
by
sfeinst
[
Today
at 04:14:28 pm]
Defining TDBDropDownCombo...
by
1HuntnMan
[
Today
at 04:12:04 pm]
Rolling releases Lazarus[...
by
ALLIGATOR
[
Today
at 03:28:46 pm]
How to determine the unkn...
by
CM630
[
Today
at 03:10:40 pm]
[SOLVED] TaChart on MAC: ...
by
tk
[
Today
at 03:02:08 pm]
DCPcrypt v2.0.6 — Cryptog...
by
cdbc
[
Today
at 02:05:57 pm]
Free Pascal for a small e...
by
avra
[
Today
at 02:03:26 pm]
Fpcupdeluxe
by
tk
[
Today
at 12:08:34 pm]
ThorVG - test (lightweigh...
by
Boleeman
[
Today
at 11:28:52 am]
External SIGSEV (Database...
by
Zvoni
[
Today
at 08:26:34 am]
fpGUI vs MSEide + MSEgui?
by
Graeme
[February 10, 2026, 10:23:25 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: CustomDraw package compile error (lupa.bmp) (Read 1443 times)
wp
Hero Member
Posts: 13352
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: 4740
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: 13352
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: 4740
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