Line | |
---|
1 | A few things have changed in ver. 4.0.0 of CoolTrayIcon which means you may
|
---|
2 | have to slightly adjust your previous projects that use CooltrayIcon or
|
---|
3 | TextTrayIcon.
|
---|
4 |
|
---|
5 |
|
---|
6 | 1) The IconVisible property is now default false in stead of true.
|
---|
7 |
|
---|
8 | The reason for this is that the tray icon would apparently show itself,
|
---|
9 | regardless of the property being false, if CoolTrayIcon was used in a
|
---|
10 | DLL file.
|
---|
11 |
|
---|
12 | This change means that you have to reset the property to true in your old
|
---|
13 | projects, in case the value was originally true.
|
---|
14 |
|
---|
15 |
|
---|
16 | 2) The StartMinimized property no longer exists. It has been replaced by the
|
---|
17 | OnStartup event. This event has a ShowMainForm parameter, which you set to
|
---|
18 | false if you don't want the main form to show when your app. starts.
|
---|
19 |
|
---|
20 | The reason for this change is that StartMinimized only worked at design-time,
|
---|
21 | meaning you could not determine at run-time if you wanted to show the form
|
---|
22 | or not. With the change it is now possible to have a user option for this
|
---|
23 | in your app.
|
---|
24 |
|
---|
25 | See the StartHidden demo for an example.
|
---|
26 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.