Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
Is it possible to Extract an Interface from a Class ?
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
Seeking performance feedb...
by
Xenno
[
Today
at 04:31:34 pm]
TCollection wiki entry
by
Thaddy
[
Today
at 04:22:36 pm]
Pls support Double Comman...
by
Alexx2000
[
Today
at 04:02:56 pm]
Ignoring Exceptions - Hit...
by
Martin_fr
[
Today
at 03:50:47 pm]
Lazarus 4.6 may erase you...
by
Benoni_Edin
[
Today
at 01:22:02 pm]
val return code
by
ALLIGATOR
[
Today
at 12:39:46 pm]
Greyed out controls?
by
LeP
[
Today
at 12:21:25 pm]
Creating binary
by
marcov
[
Today
at 11:25:17 am]
is there PDS reader/expor...
by
cdbc
[
Today
at 08:59:50 am]
Problems with creating a ...
by
Remy Lebeau
[
Today
at 06:28:22 am]
Hello. I'm new to this co...
by
onionmixer
[
Today
at 03:55:53 am]
Selecting from a list of ...
by
J-G
[July 09, 2026, 11:38:39 pm]
Help needed on how to do ...
by
paweld
[July 09, 2026, 10:06:31 pm]
A recreation of the class...
by
count
[July 09, 2026, 08:53:45 pm]
GTK3 is now the default w...
by
bonmario
[July 09, 2026, 07:48:59 pm]
using bass to play sounds
by
Thaddy
[July 09, 2026, 05:57:43 pm]
DDE
by
Thaddy
[July 09, 2026, 05:01:24 pm]
FPC Unleashed (async/awai...
by
Thaddy
[July 09, 2026, 04:38:17 pm]
String constants being di...
by
mihaisheng
[July 09, 2026, 12:25:38 pm]
[New Component] ExtTabCtr...
by
ovidio
[July 09, 2026, 09:12:56 am]
Gtk3 becomes default widg...
by
dbannon
[July 09, 2026, 02:48:36 am]
Best name for procedure
by
LemonParty
[July 08, 2026, 10:27:44 pm]
Using callback
by
LemonParty
[July 08, 2026, 08:50:29 pm]
Advatage Database server
by
serbod
[July 08, 2026, 02:38:15 pm]
BitBtn Oddity
by
Zvoni
[July 08, 2026, 10:24:57 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Is it possible to Extract an Interface from a Class ? (Read 1038 times)
Schmitty2005
Jr. Member
Posts: 65
Is it possible to Extract an Interface from a Class ?
«
on:
July 31, 2025, 05:26:50 am »
I am trying to quickly make an Interface from an existing class. Is that possible in Lazarus ? Delphi has 'Extract Interface'. I could not easily find the equivalent if Lazarus 4.2 has it.
Suggestions ? Add-on ?
Logged
Thaddy
Hero Member
Posts: 19384
Glad to be alive.
Re: Is it possible to Extract an Interface from a Class ?
«
Reply #1 on:
July 31, 2025, 06:01:31 am »
Ahum.... I use Delphi for that... ssshhh.
I am not aware the Lazarus already supports this, although it may be in codetools somewhere.
«
Last Edit: July 31, 2025, 06:50:00 am by Thaddy
»
Logged
objects are fine constructs. You can even initialize them with constructors.
cdbc
Hero Member
Posts: 2848
Re: Is it possible to Extract an Interface from a Class ?
«
Reply #2 on:
July 31, 2025, 08:38:51 am »
Hi
Lazarus' equivalent is called "Manual Labour"
I know, 'cause I've done a few -- 'IStringList' & 'IStreams' ...and to some extent 'IContainers'
They've all got their own thread here in the forum, so you can just search...
Regards Benny
Logged
If it ain't broke, don't fix it
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release & FPC Main -> Lazarus Main
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
Is it possible to Extract an Interface from a Class ?
TinyPortal
© 2005-2018