Navigation bar
  Print document Start Previous page
 39 of 90 
Next page End  

Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 37 of 90
Chapter 3
Behavior
Overview
Many of the schedule properties deal specifically with behavior. Described below are
numerous properties that define how the schedule will behave when responding to user
actions. These properties are quite useful when you wish to toggle off some of the
robust built-in functionality of the schedule. 
AllowAdd
This property determines if appointments can be added to the schedule when the user
double-clicks or pressed the <ENTER> key. Appointments can always be added in code
of course but you may not wish the user to add appointments to a schedule. When this
property is true, the user can highlight a schedule area and press the <ENTER> key to
create an appointment that is added to the AppointmentCollection.
AllowCopy
This property determines if the user can copy (clone) an appointment. When true, the
user can hold the <CTRL> key and drag an appointment and drop it to create a copy of
the source appointment at the new position. All other properties of the appointment are
copied except for the information relevant to the drag: date, time, room, and/or provider.
AllowDragTip
This property determines if a tooltip is displayed while an appointment is being dragged.
When this property is set to true, a tooltip is displayed in the top, left corner with the
date, time, room, and/or provider of the position under the mouse while it is being
dragged.
AllowGrid
This property allows you to toggle the schedule grid on or off. The grid is displayed so
that the user might easily determine where appointments reside in relation to the
margins. If you do not want to display a grid, set this property false and only the
schedule Appearance object’s backcolor is used to draw the grid area.
AllowInPlaceEdit
This property determines if the user can click in an appointment to start an edit of its
Subject property. When this occurs, the user may change the Subject property by typing
inside of the appointment and pressing clicking off of it to save the new text. The user
can cancel the edit by pressing the <ESC> key.
AllowMove
The AllowMove property determines if the user may click the mouse on an appointment
and drag it to a new location. If this property is set to false, the user cannot move any