[Lazarus] how about a "HasProperty()" property?

Alejandro Gonzalo parkingspace26 at yahoo.com
Mon Jan 6 00:50:44 CET 2014

For example, if you want to loop though components and set the dbNavigator's DataSource property to that of the component if it has a DataSource property (and of course is not a dbNavigator itself).  It seems you can't do that by using the component's hierarchy.  Is there someway else to do that?  Components do seem to have HasHelp and HasParent properties already.

Perhaps being able to test for the Palate that the component is on would work, is there a way to do that?


A. G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140105/d9d9acc9/attachment-0002.html>

More information about the Lazarus mailing list