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
Error, the IF function do...
by
veb86
[
Today
at 06:47:30 am]
Source Editor - Open Sour...
by
n7800
[
Today
at 05:13:12 am]
Form Positioning (Run & D...
by
Tony Stone
[
Today
at 03:28:03 am]
StrToInt not raising an e...
by
ALLIGATOR
[
Today
at 03:17:25 am]
Unselect all rows in stri...
by
Jonny
[
Today
at 01:07:15 am]
[solved] Issues was wrong...
by
What I can do
[
Today
at 01:03:09 am]
Specialisation doesn't se...
by
nixbody
[
Today
at 12:38:49 am]
User Domain
by
Remy Lebeau
[
Today
at 12:20:36 am]
Treeview: full-width back...
by
wp
[
Today
at 12:06:20 am]
visasession
by
Laksen
[
Today
at 12:03:45 am]
UADE Library
by
Gigatron
[February 06, 2025, 11:41:14 pm]
Please explain what is Po...
by
PascalDragon
[February 06, 2025, 11:03:56 pm]
"set of": order of elemen...
by
PascalDragon
[February 06, 2025, 10:14:14 pm]
Compile App Error
by
eldonfsr
[February 06, 2025, 10:03:23 pm]
ellipse ? off topic
by
d2010
[February 06, 2025, 09:10:42 pm]
using RunCommand to wrap ...
by
MarkMLl
[February 06, 2025, 08:54:16 pm]
Telegram bots API Wrapper
by
Renat.Su
[February 06, 2025, 07:51:49 pm]
Custom self drawn compone...
by
wp
[February 06, 2025, 06:29:29 pm]
working on multiple proje...
by
TRon
[February 06, 2025, 05:39:14 pm]
Problema como barra de ro...
by
mfdzerohour
[February 06, 2025, 05:14:28 pm]
image processing library
by
JernejL
[February 06, 2025, 04:27:07 pm]
Reading and writing AVIF ...
by
Tomxe
[February 06, 2025, 02:34:13 pm]
Pointer and/xor set failu...
by
BrunoK
[February 06, 2025, 12:41:51 pm]
Dialogs and Windows PE
by
d2010
[February 06, 2025, 11:52:49 am]
What is more (memory) eff...
by
DragoRosso
[February 06, 2025, 11:51:34 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 2939 times)
ASerge
Hero Member
Posts: 2373
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: 1863
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