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
Perlin Noise Map With BGR...
by
Boleeman
[
Today
at 01:36:13 pm]
Lazarus for Windows on aa...
by
Thaddy
[
Today
at 01:35:48 pm]
Strange Error when I use ...
by
Thaddy
[
Today
at 01:33:23 pm]
Strange Mail from memo.mi...
by
Thaddy
[
Today
at 01:27:19 pm]
[Solved] Lazreport. Sorti...
by
Petrus Vorster
[
Today
at 11:39:09 am]
Regarding the issue of de...
by
Martin_fr
[
Today
at 11:16:29 am]
[Windows] UTF8 encoding w...
by
Thaddy
[
Today
at 10:42:15 am]
Pleas help, Synapse / Ind...
by
patyit
[
Today
at 10:25:29 am]
would multi threading hel...
by
speter
[
Today
at 09:42:28 am]
Default, Manual Initializ...
by
Okoba
[
Today
at 09:17:22 am]
How to observe the value ...
by
yinhuajian
[
Today
at 05:50:14 am]
Cannot see unit text - ed...
by
lorenzo
[
Today
at 04:05:13 am]
AdvancedHTTPServer: A Go-...
by
egsuh
[
Today
at 01:44:33 am]
What's wrong with my appl...
by
VisualLab
[
Today
at 01:04:16 am]
ThemeServices.OnThemeChan...
by
440bx
[
Today
at 12:16:35 am]
Cross Compile for Dos on ...
by
PascalDragon
[January 20, 2026, 10:54:36 pm]
Feature announcement: Fun...
by
PascalDragon
[January 20, 2026, 09:50:39 pm]
Access violation during d...
by
PascalDragon
[January 20, 2026, 09:49:09 pm]
IStringList...
by
PascalDragon
[January 20, 2026, 09:35:54 pm]
Strings in Free Pascal: I...
by
PascalDragon
[January 20, 2026, 09:33:09 pm]
Developing FreePascal on ...
by
HKPhysicist
[January 20, 2026, 08:59:53 pm]
Anti "churning" in solita...
by
andersonscinfo
[January 20, 2026, 08:37:14 pm]
[Solved] Exception in TFi...
by
d.oertel
[January 20, 2026, 06:18:05 pm]
Animated Sine Beziers
by
Boleeman
[January 20, 2026, 02:34:32 pm]
PadXml 1.0.0 – Portable A...
by
AlexanderT
[January 20, 2026, 02:04:18 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: CustomDraw package compile error (lupa.bmp) (Read 1357 times)
wp
Hero Member
Posts: 13334
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: 13334
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