Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Adding interfaces to any class (tnx Warfley!)
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
SDL2: Runtime Error 216 o...
by
Fred vS
[January 12, 2025, 11:30:17 pm]
Why with allows assignmen...
by
LV
[January 12, 2025, 11:01:40 pm]
MQTT Client
by
cdbc
[January 12, 2025, 10:48:04 pm]
SDL2 image rotation Probl...
by
Fred vS
[January 12, 2025, 09:30:11 pm]
FPC crashes after running...
by
jamie
[January 12, 2025, 09:20:00 pm]
How to validate ParamStr(...
by
Thaddy
[January 12, 2025, 08:46:05 pm]
Out of memory / filter tw...
by
BubikolRamios
[January 12, 2025, 08:32:02 pm]
rebuilding IDE fails
by
Martin_fr
[January 12, 2025, 08:24:54 pm]
How do I access data memo...
by
TBMan
[January 12, 2025, 08:10:18 pm]
Out of heap
by
BubikolRamios
[January 12, 2025, 07:53:17 pm]
Where do I get IdHTTP, ...
by
Thaddy
[January 12, 2025, 07:03:36 pm]
TSQLQuery with lookup fie...
by
dpap
[January 12, 2025, 06:56:57 pm]
Lazarus Pascal Keywords a...
by
Thaddy
[January 12, 2025, 06:56:39 pm]
Vulnerabilities lurking i...
by
tetrastes
[January 12, 2025, 06:25:19 pm]
[Solved]Help needed with ...
by
cdbc
[January 12, 2025, 06:01:02 pm]
Large or huge sets
by
Thaddy
[January 12, 2025, 05:22:06 pm]
Lazarus Release Candidate...
by
calebs
[January 12, 2025, 04:17:58 pm]
Compile auxilliary units ...
by
Thaddy
[January 12, 2025, 08:00:36 am]
Pascal and Musical Tones ...
by
Roland57
[January 12, 2025, 04:11:37 am]
Lazarus Release 3.6
by
dbannon
[January 12, 2025, 01:45:38 am]
doubled keypresses regist...
by
Bart
[January 12, 2025, 12:55:22 am]
Creating the Android RTL ...
by
Seenkao
[January 12, 2025, 12:24:30 am]
test if web site is valid
by
Thaddy
[January 11, 2025, 11:33:49 pm]
Assigning proc to event a...
by
Thaddy
[January 11, 2025, 11:27:03 pm]
Exploring FPC/Lazarus uni...
by
MarkMLl
[January 11, 2025, 10:15:11 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 1825 times)
ASerge
Hero Member
Posts: 2347
Re: Adding interfaces to any class (tnx Warfley!)
«
Reply #15 on:
December 13, 2024, 03:05:29 pm »
Quote from: Warfley on December 13, 2024, 10:42:20 am
But how do you convert it back?
What for? If we have an object A, then convert it to B, then why back? Just use A.
Logged
Warfley
Hero Member
Posts: 1822
Re: Adding interfaces to any class (tnx Warfley!)
«
Reply #16 on:
December 13, 2024, 03:48:44 pm »
For example, you want to create the object, pass it to another object and get it back later. E.g. as transferral of ownership. Is not that uncommon.
Logged
GitHub:
https://github.com/Warfley
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Adding interfaces to any class (tnx Warfley!)
TinyPortal
© 2005-2018