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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Remote desktop software i...
by
gidesa
[
Today
at 12:09:34 pm]
TLazSerial : serial port ...
by
seppde
[
Today
at 11:09:39 am]
Omitting semicolon on las...
by
Zvoni
[
Today
at 10:25:16 am]
Lazarus Bugfix Release 4....
by
dbannon
[
Today
at 10:09:07 am]
FPC Unleashed (inline var...
by
440bx
[
Today
at 10:03:41 am]
[ANN] Unofficial FPC 3.3....
by
PascalDragon
[
Today
at 07:37:59 am]
[SOLVED] How to enter gen...
by
PascalDragon
[
Today
at 07:27:12 am]
AI Assist Python - to - P...
by
PascalDragon
[
Today
at 07:25:42 am]
Track windows cross-platf...
by
PascalDragon
[
Today
at 07:21:06 am]
How to remove a FORM from...
by
Martin_fr
[
Today
at 12:29:46 am]
Messing with Gemini AI an...
by
backprop
[April 09, 2026, 10:33:56 pm]
504 Gateway Timeout
by
Marc
[April 09, 2026, 10:28:28 pm]
Can /my/ AI help me with ...
by
schuler
[April 09, 2026, 09:27:43 pm]
I can write your README.m...
by
schuler
[April 09, 2026, 09:22:38 pm]
Hang
by
Handoko
[April 09, 2026, 05:42:39 pm]
RegExpr matchting empty s...
by
Thaddy
[April 09, 2026, 04:47:09 pm]
Closing application when ...
by
LeP
[April 09, 2026, 03:14:32 pm]
VST scale bug?
by
Espectr0
[April 09, 2026, 02:09:55 pm]
bomber command (inc)
by
speter
[April 09, 2026, 02:32:37 am]
[FPC 3.2.4, Windows] PTC ...
by
Roland57
[April 08, 2026, 08:17:27 pm]
Abbrevia extract failed
by
wp
[April 08, 2026, 06:15:29 pm]
Which quantized model wor...
by
gidesa
[April 08, 2026, 06:14:16 pm]
Fpcupdeluxe
by
Cascade
[April 08, 2026, 04:09:38 pm]
Changing the same record ...
by
LemonParty
[April 08, 2026, 03:42:51 pm]
Amigo programming languag...
by
paxscript
[April 08, 2026, 03:40:10 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 4230 times)
ASerge
Hero Member
Posts: 2480
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: 2049
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