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
OpenDocument('Filename') ...
by
J-G
[
Today
at 05:23:26 pm]
Lazarus interface to Rexx...
by
marcov
[
Today
at 05:10:10 pm]
Lazarus Bugfix Release 4....
by
n7800
[
Today
at 04:56:57 pm]
WASM import error
by
Fibonacci
[
Today
at 04:53:35 pm]
Discipline your AI coding...
by
Weiss
[
Today
at 04:37:42 pm]
Lazarus Main not building...
by
dsiders
[
Today
at 03:01:07 pm]
Hello. I'm new to this co...
by
zeljko
[
Today
at 02:17:38 pm]
TCollection wiki entry
by
Thaddy
[
Today
at 01:24:21 pm]
weird error message
by
cdbc
[
Today
at 12:23:13 pm]
Freepascal
by
LeP
[
Today
at 09:40:33 am]
TTL Record Count, i.e. a ...
by
Zvoni
[
Today
at 09:10:08 am]
Printing on HP Smart Tank
by
Thaddy
[
Today
at 07:10:37 am]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 06:38:27 am]
MVP made easier.
by
cdbc
[
Today
at 06:18:24 am]
I have made some progress...
by
onionmixer
[
Today
at 02:57:55 am]
Lazarus 4.6 may erase you...
by
Martin_fr
[July 12, 2026, 06:35:29 pm]
Best name for procedure
by
LemonParty
[July 12, 2026, 05:23:02 pm]
Fixed an RV32ec compiler ...
by
MattBradford
[July 12, 2026, 05:11:16 pm]
Many recent books on Laza...
by
Tomu
[July 12, 2026, 05:02:44 pm]
International Pascal Cong...
by
zeljko
[July 12, 2026, 04:08:53 pm]
equivalent to C/C++ "offs...
by
jamie
[July 12, 2026, 02:43:16 pm]
val return code
by
ALLIGATOR
[July 12, 2026, 01:40:21 pm]
Help needed on how to do ...
by
cdbc
[July 12, 2026, 12:15:15 pm]
PascalRAL the fastest, mo...
by
Mobius1
[July 12, 2026, 11:24:00 am]
TDateTimePicker - Make th...
by
AlexanderT
[July 12, 2026, 09:57:05 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: CustomDraw package compile error (lupa.bmp) (Read 1862 times)
wp
Hero Member
Posts: 13625
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: 4743
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: 13625
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: 4743
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