![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 47
1998-2004 Gravitybox Software LLC
may be shown modal or non-modal depending on the property DefaultDialogModal. In
Figure 3.1, the window is shown non-modal. Notice that there is an Apply button. This
will allow the user to save changes to the main schedule without closing the property
window. Also notice that there is a Minimize button for the window. This allows the
user to minimize the property window. When the default property window is shown in a
non-modal fashion, multiple windows may be open at the same time. No more than one
per appointment may be open, but there may be several windows open each for a
different appointment.
Figure 3.1
If the default property window is set to open in a modal fashion then only one per
schedule may be open and the user may not minimize the window at any time. The
screen is displayed and requires user interaction before it may be closed. Also the
Apply button does not appear on a modal window since the user must either choose to
save or cancel, both of which close the property window.
Custom Icons
In many instances you may wish to add custom icons to
your appointments. These icons may signify special events
or information relevant to your application. GbSchedule
provides a way to do this simply. The Microsoft common controls are required for this
action. Put an ImageList on a form and load it with all of the icons that you want to be
displayed on any of the appointments. Make sure that the ImageList is set to display
16x16 icons and set its UseMaskColor to true.
Quick Tip
Add custom icons to any
appointment by using its Icons
collection and an ImageList control.
|