| Class TFormMain (unit Main) |
TForm
**************************************************************************** Unit Name: Main Description:Main contains an example of polymorphic creation of instances of TBase or of its derived classes. Note that no knowledge of anything regarding derived classes is required. Author: M. Venturini Revisor: Date: 17 Feb. 97 Revision:
| Constructors |
| Functions |
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);| Properties |
| Events |
| Variables |
ClassName : TLabel;
C : TBase;| Constructors |
| Functions |
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);No one knows the class of C, if you need to know ask him
| Properties |
| Events |
| Variables |
ClassName : TLabel;
C : TBase;