[lazarus] Using RTTI to get properties and methods

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Feb 5 10:48:10 EST 2001




On Mon, 5 Feb 2001, Shane Miller wrote:

> I'm setting up LAzarus for Code Completion using the RTTI.  However, when I call 
> 
> PT := GetTypeData(Form1.ClassInfo)
> 
> Pt only reflects the published properties and methods.
> Is there a way to get the other methods or am I doing this wrong?
> Should I be using something else to implement code completion?

Yes, Browser support. This is a difficult issue; in principle you need
the browser info of all units that are included in the current unit.
The person who implemented browser support is Pierre Muller; you can
reach him at pierre at freepascal.org

Michael.






More information about the Lazarus mailing list