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

Gravitybox Schedule Primer
Page 223 
1998-2004 Gravitybox Software LLC
DragOverScheduleItem
Contacts Control
Event
DragOverScheduleItem(DragOperation As
DragOperationConstants, X As Long, Y As
Long, Effect As Long)
When the user is dragging a ScheduleItems from a
Schedule control over a Contacts control this event
is raised. The coordinates of the mouse are specified
as parameters. 
Schedule Control
Event DragOverScheduleItem(ApptDate As
Date, ApptRoom As Long, ApptTime As
Date, ApptLength As Long, DragOperation
As DragOperationConstants, X As Long, Y
As Long, Effect As Long)
This event is raised when an appointment is being
dragged over the schedule to be moved to another
position. The date/room/time/length are sent in as
parameters so that any conflict checking or other
processing can be performed. These parameters
correspond to the position under the current mouse
position. The DragOperation parameter is the
operation being performed which is none, copy,
move, or add. If the AllowOtherDrops is True and the
user drags a non-appointment item (like files or text
or anything else) then this parameter will always be
set to "Add" since the user is adding a new
appointment with a drag. When dragging an
appointment to another position, in the same window
or across windows, this parameter is set to "Move".
Alternately, if the <CTRL> key is pressed it is a
"Copy". The Effect parameter is the standard OLE
Effect.
TaskList Control
Event DragDropScheduleItem(ScheduleItem
As CScheduleEl, DragOperation As
DragOperationConstants, X As Long, Y As
Long, Effect As Long, Cancel As
Boolean)
When the user is dragging a ScheduleItems from a
Schedule control over a TaskList control this event is
raised. The coordinates of the mouse are specified
as parameters. 
http://www.purepage.com