On Thu, 17 Jul 2014 10:13:31 -0300 Bruno HR <bhrei...@hotmail.com> wrote:
> Hello all, > about the Favorites tab in the Object Inspector, why do we need to select a > base class for a property to add to Favorites? Only properties of instances inheriting from the class are favorites. > And why do we need to choose a base class also when removing a > property from Favorites? These are excludes. > Also, is there a way of declaring a property/event as "Favorite" in its > declaration in the source code? Yes: DefaultOIFavoriteProperties.Add(TOIFavoriteProperty.Create(ABaseClass,APropertyName,true)); Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus