![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 214
1998-2004 Gravitybox Software LLC
BackGroundClick
Event BackGroundClick(Button As
Integer, Shift As Integer, dtDate As
Date, lRoom As Long, dtTime As Date)
The event is raised when the user clicks on the
schedule background where a scheduled item is not
present. This background also does not include the
horizontal or vertical headers. The headers have
their own click events, DayHeaderClick and
TimeMarginClick respectively.
Note: The dtDate property has no meaning if the
ViewMode property is set to exclude days. In
addition, the lRoom property has no meaning if the
ViewMode property is set to exclude rooms.
BeforeAdd
Event BeforeAdd(Cancel As Boolean)
BeforeAdd is raised before a schedule item is
Added. The user holding the Ctrl-key and dragging
the mouse the length of a proposed schedule item or
in code performs this. In addition an add can be
initiated by double-clicking the background. The
Cancel parameter gives you the chance to cancel
the Add before it is actually performed. AllowAdd
dictates this functionality.
BeforeColumnResize
Event BeforeColumnResize(Cancel As
Boolean)
This event is raised before a user resizes the
columns. If the AllowColumnResizing property is set,
then the user can use the mouse to grab the edge of
a column and resize it. All columns are the same
width, so resizing one applies to all columns. The
"Cancel" parameter allows you cancel this operation
before it gets started.
|