[Lazarus] how about a "HasProperty()" property?
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus