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
Matching video to form
by
paweld
[
Today
at 06:40:24 am]
Military Grade Directives
by
walterquez
[
Today
at 05:39:44 am]
[Solved] Need help with c...
by
wessy
[
Today
at 04:03:38 am]
Jacks or Better card game...
by
TBMan
[
Today
at 03:12:03 am]
[SOLVED] Need help conver...
by
MathMan
[
Today
at 02:47:26 am]
Permutation of rows and c...
by
user07022024
[
Today
at 02:36:01 am]
Strings and special chara...
by
TBMan
[
Today
at 12:08:26 am]
fpsockets error: 10047
by
bytebites
[December 10, 2025, 09:58:18 pm]
Is FPGUI still active?
by
BSaidus
[December 10, 2025, 07:26:39 pm]
SpkToolbar custom update
by
wp
[December 10, 2025, 06:35:40 pm]
Mapping Images Like Odome...
by
SandyG
[December 10, 2025, 05:22:27 pm]
Using WriteLn inside dll
by
Thaddy
[December 10, 2025, 04:16:20 pm]
Hello everyone!
by
Curt Carpenter
[December 10, 2025, 03:55:40 pm]
Avoid system units debugg...
by
janasoft
[December 10, 2025, 12:13:42 pm]
Struggling with Orthello/...
by
Dzandaa
[December 10, 2025, 11:48:43 am]
[SOLVED] progress dialog ...
by
Phoenix
[December 10, 2025, 11:14:23 am]
Notetask 1.1.0 - Free cro...
by
AlexanderT
[December 10, 2025, 10:05:28 am]
I cannot save an unit on ...
by
Zvoni
[December 10, 2025, 09:06:05 am]
Introducing PasBuild 1.0....
by
Thaddy
[December 10, 2025, 08:16:53 am]
Form adjusting to screen ...
by
RickSpink
[December 10, 2025, 08:11:59 am]
Amigo programming languag...
by
paxscript
[December 10, 2025, 04:06:34 am]
Feature better than a new...
by
TBMan
[December 10, 2025, 03:56:13 am]
Any way to exclude terms ...
by
n7800
[December 10, 2025, 12:59:05 am]
Just Curious: When has an...
by
n7800
[December 10, 2025, 12:15:00 am]
Detect orphaned procedure...
by
Martin_fr
[December 09, 2025, 11:37:51 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: CustomDraw package compile error (lupa.bmp) (Read 1231 times)
wp
Hero Member
Posts: 13267
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: 13267
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