Sign in Join
Wiki copytemporary

RTTI controls

Deutsch · English · Español · Français · Português · Русский · 日本語

This page describes the package RunTimeTypeInfoControls in <lazarusdir>/components/rtticontrols/.

RTTI controls extend many LCL controls by the ability to directly connect to published properties of classes. They greatly reduce writing boring code, by automatically loading/saving data between LCL controls and published properties. In fact, you can create fully functional forms without writing any code at all.

In combination with Streaming components you can reduce the amount of code needed for connecting the program Data with the GUI and the Disk/Network to a minimum.

Testing Components

The RTTI controls are very useful when writing/testing a component.

So for instance, if the property is a StringList type, the RTTIButton would bring up the StringList editor, the RTTIMemo would display it - all without writing a line of code!

See Also


From the Free Pascal wiki, page "RTTI controls", as it stood on 2020-06-10 after a change by Eric69, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 8 people, 2006–2020

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
Mattias2
Mattias2
Swen (minor)
MingodadIntroduction
Sekelsenmat
MinesadoradaAdded 'Testing Components' section
MinesadoradaTesting Components (minor)
FTurtle (minor)
FTurtle
Arent
Arent
Arent
FTurtleDeleted category because this page is single which wants that not-existing category.
Eric69See Also (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.