[Lazarus] TDBNavigator icons break symmetry
Bart
bartjunk64 at gmail.com
Wed Oct 3 12:45:32 CEST 2012
On 10/3/12, Flávio Etrusco <flavio.etrusco at gmail.com> 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
More information about the Lazarus
mailing list