RTTI controls

From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en) español (es) français (fr) 日本語 (ja) português (pt) русский (ru)

Introduction

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.

A good explanation on RTTI for delphi that can apply to freepascal too can be found here: http://www.blong.com/Conferences/BorConUK98/DelphiRTTI/CB140.htm