Question I want to know if there is any component or command that gives me the list of properties of a component, like table or text box, for example I want to have the list of properties of a text box to change the caption of it or other properties. If I select the component like text box I can see the list of properties of that component.Answer 1. Put an edit-box called Edit1 on your Delphi form. We will show its properties in a listbox. 2. Add the unit TYPINFO to the USES clause of the form. 3. Add following procedure at the beginning of the implementation part of the form: procedure CompPropsToList(Comp: TComponent; Strings:
TStrings); 4. In order to test it: procedure TForm1.Button1Click(Sender: TObject); |