[Lazarus] main form icon and other things
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Apr 3 11:35:40 CEST 2010
On Sat, 03 Apr 2010 16:46:58 +0800
Paul Ishenin <webpirat at mail.ru> wrote:
> 03.04.2010 16:39, Mattias Gaertner wrote:
> > I was asking for a real life example. I have never seen such a thing.
> > IMHO bsDialog should show an icon under Linux.
> >
> Ah. You are asking about an example of a dialog form? This is not a
> problem. Find/Replace form or form which shows message (MessageDlg) are
> dialog forms. They should not have neither taskbar icon nor taskbar
> button and they must be not resizable.
Only dialogs with no sizable controls can be fixed size. So
the splashscreen can be fixed size.
Even a message dialog can be too big for the screen and then it should
be resizable.
The find/replace dialog is good example for a dialog that must be
resizable, as the text can be long.
I'm always cursing the many non resizable dialogs in MS Windows. And I
know that even windows lovers don't like that.
About the icon:
If a window is shown in the taskbar it should show an icon, otherwise
they get a default one from the window manager.
A modal form does not need to be shown in the taskbar - if it is the
only one. But the VCL allows to show one form modal and then one form
normal. The last will be shown in the same layer as the modal one, so
you need buttons to switch between them.
Mattias
More information about the Lazarus
mailing list