"QLD_AU" < XXXX@XXXXX.COM > schrieb:
There are different ways to do that:
* You can assign the icon to all forms at designtime.
* You can create a base form that includes the icon and let
all other forms inherit from this base form.
* You can make a reference to the icon or main form available
and assign the icon at runtime, for example, in the forms' constructors:
Providing a reference to an application's main form
It's not recommended to assign icons to all forms of an application.
Especially dialogs (forms which are shown modally) typically don't have an
icon at all. Take a look at Microsoft's applications to see when using an
icon in the form's title bar makes sense.
M S Herfried K. Wagner
M V P <URL: http://www.yqcomputer.com/
V B <URL: http://www.yqcomputer.com/