[Lazarus] main form icon and other things

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Apr 2 20:45:40 CEST 2010


On Fri, 02 Apr 2010 19:50:07 +0800
Paul Ishenin <webpirat at mail.ru> wrote:

> 02.04.2010 17:22, Alberto Narduzzi wrote:
> > ok, but in my case the bsDialog form was the main one; and since there 
> > is no other way of having the application have an icon to show in the 
> > taskbar, I saw that specifying one for the main form did it (with 
> > older Lazarus).
> > Now, fixing the behavior for the bsDialog-ed forms removed also the 
> > icon the application receives.
> >
> > Maybe an icon field in the project options should help.
> There are differences between widgetsets. On windows application is a 
> separate window and the project icon is associated with it. On gtk2 
> taskbar icons are shown per form and icons are the same as forms have 
> (btw, bsDialog should not have a taskbar icon but currently in gtk2 it 
> has). On OSX forms can't have an icon and only application can have one 
> - it is shown on the dock.
> 
> Therefore if you are working with gtk2 and you have only bsDialog form 
> then you should not see any icon on the taskbar.

That would be strange. Which other gtk2 application does not show an
icon in the taskbar?

Mattias




More information about the Lazarus mailing list