![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 174
1998-2004 Gravitybox Software LLC
property is set to TopLeft then only the StartTime of the
appointment can be changed by moving its Top/Left edge
depending on if the value of the Viewmode property.
When BottomRight is set then only the user can set the
length of the appointment. He will be able to drag the
bottom or right edge of the appointment depending again
on the value of Viewmode. In All mode then the user can
drag the Top or Bottom of an appointment (Left or Right if
time is displayed on top)
AllowMove
Property AllowMove() As Boolean
AllowMove determines if the user can move a scheduled
item with the mouse by dragging it. When this property is
set the user can automatically drag a ScheduleItem and
drop it elsewhere in the schedule. If this property is False,
then no automatic action is taken when the user tries to
drag a scheduled item. ScheduleItems can also be
dragged across window to another schedule.
AllowOtherDrops
Property AllowOtherDrops() As Boolean
This allows any object to be dragged onto the schedule. If
it is a ScheduleItem from the same or another schedule
window, then the operation is a move. If the object is
NOT a ScheduleItem then this is an appointment
creation. When the object is dropped a new appointment
is created at that position. This is useful for having users
drop object from other program to create appointments
for a schedule
AllowRecurrences
Property AllowRecurrences() As Boolean
This property defines the functionality of the schedule for
recurring appointments. When false, no user interface is
displayed to add or remove recurring appointments.
When this property is true, the default property window
will have a "Recurrences" button. The user may setup a
recurrence pattern by using the screen display with this
button. When a pattern is applied, each of the newly
created appointments is part of a group. They all have the
same GroupId property. The GroupId is read-only and is
assigned in the background. When the user highlights a
recurring appointment and presses the <Delete> key, he
will be prompted to remove the single appointment or the
entire series (group) of appointments.
|