On 10/3/12, Flávio Etrusco <[email protected]> wrote: >>> Maybe we could make the glyphs customizable, and keep everybody happy? >> >> Very true. And frankly, I'm quite surprise that the TDBNavigator doesn't >> have an ImageList property to do just that. Those buttons are just >> TSpeedButton descendants anyway. It would also mean that the DBNavigator >> could blend in better with the icon theme used in the application. >> >> >> Regards, >> - Graeme - > > At least Lazarus is "compatible" with this hack ;-) > http://delphi.about.com/od/usedbvcl/l/aa090203a.htm > > IIRC the official way to do it on Delphi was to override the resource, > I'm not sure it's easy or possible with FPC...
Yep, the icons for TDBNavigator are in a .lrs file. For Delphi compatibility (where you cannot assign an imagelist to the control) we should probably derive a new TCustomizableDBNavigator from TDBCustomNavigator? Who's up for the task? Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
