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
read keys from windows ko...
by
Matze
[
Today
at 04:44:01 pm]
TOHLCChartSource
by
ronhud
[
Today
at 04:32:58 pm]
align a panel alClient in...
by
Hansvb
[
Today
at 04:29:57 pm]
Tesseract for ocr
by
Packs
[
Today
at 04:17:43 pm]
using RunCommand to wrap ...
by
nomorelogic
[
Today
at 03:51:17 pm]
Strange implicit string c...
by
nanobit
[
Today
at 03:49:40 pm]
visasession
by
MarkMLl
[
Today
at 03:34:17 pm]
"set of": order of elemen...
by
440bx
[
Today
at 03:23:58 pm]
how to change font.color ...
by
bbd666
[
Today
at 03:12:15 pm]
UADE Library
by
Gigatron
[
Today
at 01:50:35 pm]
my programs crash
by
turunk
[
Today
at 01:19:49 pm]
Unselect all rows in stri...
by
Jonny
[
Today
at 01:10:54 pm]
Is there a code formatter...
by
Zvoni
[
Today
at 12:56:12 pm]
Treeview: full-width back...
by
d7_2_laz
[
Today
at 09:57:32 am]
how to read cheque micr l...
by
Packs
[
Today
at 08:58:27 am]
User Domain
by
TRon
[
Today
at 08:49:48 am]
Bug in the formula MATCH
by
veb86
[
Today
at 07:28:39 am]
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]
[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]
Please explain what is Po...
by
PascalDragon
[February 06, 2025, 11:03:56 pm]
Compile App Error
by
eldonfsr
[February 06, 2025, 10:03:23 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Adding interfaces to any class (tnx Warfley!) (Read 2947 times)
ASerge
Hero Member
Posts: 2374
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