Navigation bar
  Home Print document Start Previous page
 135 of 234 
Next page End  

Gravitybox Schedule Primer
Page 133 
1998-2004 Gravitybox Software LLC
You may also drag Contacts to the desktop or explorer. When the AllowDragToFile
property is set to true, the user may click on the header of a Contact and drag it outside
of the control and drop it. A file will be created on the destination that contains the
Contact’s information. If the AllowDragFromFile property is set, the user may drag a
previously saved file back onto the Contact control and drop it to add the Contact to the
collection.
All of this combines to create a very useful Contacts control. It is Windows standard
adhering to the Microsoft look-and-feel, so you users will already be familiar with it. The
collection of contacts is easy to navigate and lends itself to easy file and database
manipulation. As with the task object above each contact object has an ExtraProperties
collection as well to store additional information about each contact.
Header Control 
This control may be used to display an ”MS-Outlook”
header on a screen. This will give the MS Outlook look-and-
feel. The control has an associated icon that may be
displayed large or small. Also it may also be displayed on the left or right side of the
header. The displayed text is on the opposite side of the control from the icon. The
backcolor and forecolor are configurable as well. This allows for the developer to have
total control over the display. The control is read-only with no user interaction. It is for
display only.
Figure 13.7
This control adheres to the Windows look-and-feel standards to make users feel more
comfortable. Remember, the more standard an application looks, the less support calls
you will get for ignorance questions. The main reason for using standard looking
controls is to prevent costly user support and training issues. If a user is already familiar
with a software paradigm, let him keep using it so that you will not have to shell out
money for technical support, which more people are expecting for free these days!
Table 13.5
Header Control Properties
AutoSize
This property determines if the control’s
height is automatically sized according to the
height of the caption.
BackColor
The color of the background of the control.
This is only seen if the “HasSpacer” property
value is true. This is the color outside of the
actual header.
BorderStyle
Determines if there is a border drawn around
Quick Tip
You may add a professional header
to any screen by using the Header
control
http://www.purepage.com