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
Minor Q: HowTo use 'Debug...
by
d7_2_laz
[
Today
at 04:11:35 pm]
Error 403 downloading wit...
by
Thaddy
[
Today
at 03:29:23 pm]
fpc trunk:I can't build i...
by
zoltanleo
[
Today
at 03:19:18 pm]
UK's Online Safety Act
by
LV
[
Today
at 03:01:22 pm]
Resolving procedure symbo...
by
MarkMLl
[
Today
at 02:58:05 pm]
No access to the wiki
by
zed
[
Today
at 02:42:35 pm]
Preparing FPC 3.2.4, poin...
by
Thaddy
[
Today
at 02:32:36 pm]
Select cell in listview /...
by
Jonny
[
Today
at 02:32:19 pm]
Loading TIFF Files in Bgr...
by
zxandris
[
Today
at 01:28:23 pm]
Post your artwork made fr...
by
circular
[
Today
at 12:41:24 pm]
[SOLVED] SetPart ?
by
circular
[
Today
at 12:28:21 pm]
Does unit recompilation r...
by
cdbc
[
Today
at 11:48:20 am]
[SOLVED] using TForm.OnPa...
by
robert rozee
[
Today
at 11:36:16 am]
Compile on multiple distr...
by
dbannon
[
Today
at 09:28:37 am]
Intricate LSystem Snowfla...
by
Boleeman
[
Today
at 07:59:07 am]
D2Bridge Framework for La...
by
Thaddy
[
Today
at 06:39:50 am]
[SOLVED] How to add new ...
by
eolandro
[
Today
at 03:39:09 am]
BGRA Controls
by
lainz
[
Today
at 03:22:52 am]
color for selected cells
by
kjteng
[
Today
at 02:50:42 am]
SQL update statement and ...
by
silvercoder70
[January 20, 2025, 10:52:49 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]
Drawing difference betwee...
by
Jonny
[January 20, 2025, 05:05:54 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 1973 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