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
UK's Online Safety Act
by
Joanna from IRC
[January 20, 2025, 11:48:15 pm]
Preparing FPC 3.2.4, poin...
by
Fred vS
[January 20, 2025, 11:27:29 pm]
Select cell in listview
by
Jonny
[January 20, 2025, 10:54:08 pm]
SQL update statement and ...
by
silvercoder70
[January 20, 2025, 10:52:49 pm]
Minor Q: HowTo use 'Debug...
by
d7_2_laz
[January 20, 2025, 10:38:03 pm]
Nested declarations insid...
by
PascalDragon
[January 20, 2025, 10:33:14 pm]
GR32 GR_Bindings problem
by
PascalDragon
[January 20, 2025, 10:31:47 pm]
[Solved] A Tip for beginn...
by
silvercoder70
[January 20, 2025, 10:15:43 pm]
Unit's name collides with...
by
TCH
[January 20, 2025, 09:04:50 pm]
D2Bridge Framework for La...
by
nummer8
[January 20, 2025, 08:20:59 pm]
using TForm.OnPaint to re...
by
robert rozee
[January 20, 2025, 06:14:18 pm]
Drawing difference betwee...
by
Jonny
[January 20, 2025, 05:05:54 pm]
Random ?
by
Thaddy
[January 20, 2025, 04:43:11 pm]
Memory Safety and Object ...
by
Thaddy
[January 20, 2025, 04:19:13 pm]
Spaces are allowed here ?
by
Thaddy
[January 20, 2025, 04:06:29 pm]
Error 403 downloading wit...
by
Thaddy
[January 20, 2025, 03:09:31 pm]
API on intranet - auth im...
by
MarkMLl
[January 20, 2025, 02:17:27 pm]
Making sense of pparser, ...
by
Thaddy
[January 20, 2025, 01:09:44 pm]
مشكلة في التقارير
by
nouzi
[January 20, 2025, 12:47:27 pm]
Artificial intelligence
by
MarkMLl
[January 20, 2025, 12:31:46 pm]
[SOLVED] Treeview flicker...
by
d7_2_laz
[January 20, 2025, 12:13:44 pm]
No access to the wiki
by
dseligo
[January 20, 2025, 12:01:01 pm]
IContainers
by
cdbc
[January 20, 2025, 08:36:34 am]
Using Tesseract without i...
by
Thaddy
[January 20, 2025, 07:41:06 am]
(Solved) built IDE for qt...
by
HotShoe
[January 20, 2025, 12:37:22 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 1960 times)
ASerge
Hero Member
Posts: 2354
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: 1852
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