Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
TImageList.Handle, in version 2.0.0
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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Nested declarations insid...
by
TRon
[
Today
at 12:08:53 am]
H2Pas can't handle EXP CA...
by
TRon
[January 16, 2025, 11:46:56 pm]
Lazarus Release Candidate...
by
d7_2_laz
[January 16, 2025, 10:58:10 pm]
Iterator on non-existing ...
by
Warfley
[January 16, 2025, 10:54:14 pm]
[SOLVED]Troubles when con...
by
bytebites
[January 16, 2025, 10:32:35 pm]
[SOLVED] Operators overri...
by
ackarwow
[January 16, 2025, 10:32:18 pm]
The Silver Coder on YouTu...
by
silvercoder70
[January 16, 2025, 10:21:42 pm]
Connection issues, contin...
by
jksmithiii
[January 16, 2025, 10:02:19 pm]
const declaration
by
PascalDragon
[January 16, 2025, 09:28:14 pm]
Why with allows assignmen...
by
PascalDragon
[January 16, 2025, 09:17:50 pm]
D2Bridge Framework for La...
by
talisjonatas
[January 16, 2025, 08:16:21 pm]
LCL Web Native with D2Bri...
by
talisjonatas
[January 16, 2025, 08:15:38 pm]
TIdSMTP problems
by
DragoRosso
[January 16, 2025, 08:11:38 pm]
Help basic Image Quality ...
by
jamie
[January 16, 2025, 07:17:00 pm]
Making sense of pparser, ...
by
dsiders
[January 16, 2025, 07:16:18 pm]
MQTT Client
by
cdbc
[January 16, 2025, 06:08:38 pm]
String replace or add ' ...
by
Thaddy
[January 16, 2025, 05:09:22 pm]
TColor preview tool of br...
by
slicke
[January 16, 2025, 04:36:20 pm]
fbclient on macOS 14
by
Tango600
[January 16, 2025, 04:09:55 pm]
CADSys4 3D.
by
mdadali
[January 16, 2025, 03:00:04 pm]
Problem with cell comment
by
wp
[January 16, 2025, 02:40:51 pm]
File operations blocking ...
by
jamie
[January 16, 2025, 01:57:08 pm]
SetPart ?
by
circular
[January 16, 2025, 01:10:21 pm]
TImage colors incorrect
by
Thaddy
[January 16, 2025, 09:26:22 am]
Any RequestOpenDirectory ...
by
eolandro
[January 16, 2025, 08:50:30 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TImageList.Handle, in version 2.0.0 (Read 4203 times)
JosepB
Newbie
Posts: 4
TImageList.Handle, in version 2.0.0
«
on:
February 07, 2019, 12:59:16 pm »
In version 2.0.0 of Lazarus the TImageList component does not have the Handle property that allowed, in version 1.8.4, using the Windows API. How can it be done now? Thank you.
Logged
Ondrej Pokorny
Full Member
Posts: 220
Re: TImageList.Handle, in version 2.0.0
«
Reply #1 on:
February 07, 2019, 05:58:13 pm »
Try ImageList1.ResolutionByIndex[0].Reference.Handle
Logged
JosepB
Newbie
Posts: 4
Re: TImageList.Handle, in version 2.0.0
«
Reply #2 on:
February 07, 2019, 06:55:10 pm »
It works perfectly. Thank you!.
Logged
Bart
Hero Member
Posts: 5496
Re: TImageList.Handle, in version 2.0.0
«
Reply #3 on:
February 07, 2019, 07:25:38 pm »
Document this in release notes?
Bart
Logged
Ondrej Pokorny
Full Member
Posts: 220
Re: TImageList.Handle, in version 2.0.0
«
Reply #4 on:
February 07, 2019, 09:14:27 pm »
Quote from: Bart on February 07, 2019, 07:25:38 pm
Document this in release notes?
Yes and/or implement read-only Handle/HandleAllocated properties in image list to get the old behavior back. Since 1.9 TCustomImageList is not a descendant of TLCLReferenceComponent anymore, therefore they got lost and I forgot to add them.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
TImageList.Handle, in version 2.0.0
TinyPortal
© 2005-2018