How to Get property information ?



How to Get property information ?..

Answer / Sumit Shrivastav

To get property information of a component at runtime, you can use the Component.GetProperties method or the ObjectInspector. Informations view (Ctrl+I) in the Delphi IDE. Here's an example using GetProperties:

```
var
Properties: TList<TPropertyInfo>;
begin
Properties := TComponent(MyComponent).GetProperties;
end;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Broadcast a message?

1 Answers  


How to do Sorting on Calculated fields ?

1 Answers  


How to Debug CORBA clients and servers?

1 Answers  


How to print an HTML document from inside of your application?

1 Answers  


How is the memory used within an object in delphi?

1 Answers  


'Name Conflicting' . what does this error mean?

1 Answers  


How to have a TBitBtn component that has a word wrapped caption?

1 Answers  


How to Copy contents of a control to the clipboard?

1 Answers  


How to use the InterBase Express (IBX) SQL monitor?

1 Answers  


How to Print Delphi controls using QuickReports?

1 Answers  


How to determine the names of the installed comm ports?

1 Answers  


How to Get the time and date in Universal Time ?

0 Answers  


Categories