Tutorial by Examples

This example shows how to obtain the ancestry of a component using the ClassType and ClassParent properties. It uses a button Button1: TButton and a list box ListBox1: TListBox on a form TForm1. When the user clicks the button, the name of the button’s class and the names of its parent classes are ...

Page 1 of 1