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
Beginner question: buildi...
by
Thaddy
[
Today
at 10:35:27 am]
Lazarus for Windows on aa...
by
DonAlfredo
[
Today
at 07:47:56 am]
compiled app can't run in...
by
xinjl93
[
Today
at 07:15:33 am]
AVRPascal – free code edi...
by
Curt Carpenter
[
Today
at 04:15:12 am]
Strange Error when I use ...
by
ALLIGATOR
[
Today
at 04:10:17 am]
IDE areas changing size
by
iru
[
Today
at 04:04:55 am]
Sidmon Player Library
by
Gigatron
[
Today
at 01:15:42 am]
Register global hotkey
by
zeljko
[
Today
at 12:00:40 am]
would multi threading hel...
by
cdbc
[January 24, 2026, 11:11:09 pm]
ptop doesn't format "else...
by
rgranger
[January 24, 2026, 10:36:57 pm]
On start lazarus get erro...
by
jamie
[January 24, 2026, 09:36:32 pm]
connecting to mariadb
by
nouzi
[January 24, 2026, 08:27:15 pm]
Perlin Map 3D
by
Lulu
[January 24, 2026, 07:45:16 pm]
Rolling releases Lazarus[...
by
Martin_fr
[January 24, 2026, 06:05:40 pm]
I want to port my LDL pr...
by
marcov
[January 24, 2026, 05:30:44 pm]
Error rebuilding IDE afte...
by
Prime
[January 24, 2026, 04:57:15 pm]
Future Composer Player
by
Gigatron
[January 24, 2026, 04:27:49 pm]
Object Inspector is "gone...
by
dsiders
[January 24, 2026, 04:21:06 pm]
Animated Coloured Koch Fr...
by
Boleeman
[January 24, 2026, 03:16:07 pm]
Rings for You ALL
by
Boleeman
[January 24, 2026, 03:00:39 pm]
What was your first compu...
by
Thaddy
[January 24, 2026, 01:04:41 pm]
[SOLVED] Bass.dll equaliz...
by
d2010
[January 24, 2026, 10:36:25 am]
TLazSerial : serial port ...
by
ccrause
[January 24, 2026, 07:25:31 am]
Documentation Repositorie...
by
Martin_fr
[January 23, 2026, 08:15:38 pm]
Developing FreePascal on ...
by
HKPhysicist
[January 23, 2026, 05:00:26 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 4025 times)
ASerge
Hero Member
Posts: 2475
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: 2037
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