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

Gravitybox Schedule Primer
Page 169 
1998-2004 Gravitybox Software LLC
Properties
AllowActivities
Property AllowActivities() As Boolean
This property determines if Activities are displayed on a
schedule. An Activity is an appointment that is not and all
day event and its start time and length make it overlap a
day boundary. Activities only exist when the viewmode
supports days on top and time on the left. If the
viewmode has any other value, no activities are
displayed. When this property is set the default property
dialog allows the user to set the end date. When false,
the default property dialog lists only start date, start time,
and end time, but no end date. This ensures that no
appointment may overlap a day boundary. Activities are
displayed in the event header at the top of the screen.
AllowAdd
Property AllowAdd() As Boolean
AllowAdd determines if the user can double-click on the
background and create an appointment. If this property is
True, then the appointment is made and the edit window
is evoked. This allows the user to modify any of the item's
properties.
AllowAddDialog
Property AllowAddDialog() As Boolean
Determines if the Add dialog box appears automatically
when a ScheduleItem is added. If false, the item is drawn
on the screen blank or you may use the AfterAdd event to
populate the Item before it is drawn on the screen.
If the "AllowAddDialog" property is set to false then the
BeforeEdit and AfterEdit events will NOT be raised. So if
you want display a custom edit dialog you must do it in
the AfterAdd event. This event is called after the
appointment has been added to the ScheduleItems
collection so the appointment can now be accessed with
the "NewIndex" parameter of the event.
AllowAddDrag
Property AllowAddDrag() As Boolean
AllowAddDrag determines if the user can press the left
mouse button on the background and drag the length of a
http://www.purepage.com