![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 190
1998-2004 Gravitybox Software LLC
determines the backcolor of the days for the months that
are Odd (1,2,
,11).
MonthOddForeColor
Property MonthOddForeColor() As OLE_COLOR
When a schedule has its ViewMode set to Month, it
displays a month of appointments at a time. This property
determines the forecolor of the days for the months that
are Odd (1,2,
,11).
NoHorzScroll
NoVertScroll
Property NoHorzScroll() As Boolean
Property NoVertScroll() As Boolean
These properties allow the scrolling to be turned off in
either direction. There may be times when the schedule
will have scrollbars because the entire schedule can not
be displayed on the screen. There may also be times that
you wish to keep the user in the current view port and not
allow scrolling. If this is the case, you may set either of
these properties to False to disallow scrolling in the
appropriate direction.
OLEDragFormat
Property OLEDragFormat() As Long
This property returns the number that defines a
Gravitybox Schedule appointment drag. Usually an
appointment is moved, copied, etc to the same window or
another GbSchedule window. There may be times when
you wish to drop an appointment on a non-GbSchedule
object. In this case you will need to check to make sure
that the object being dragged is an appointment. For
example, if you define a picturebox where you wish your
users to drop appointments you can add code in its
OLDDragOver event to check the drag type. You may
compare it to the value (OLDDragFormat) to confirm that
the object being dragged is a GbSchedule appointment.
OtherAreaBackColor
Property OtherAreaBackColor As OLE_COLOR
This color will be used to paint all areas not cover by
some other color. This is mainly the top, left margin of the
control. All other areas are painted with their own colors
such as the time, day, category, and provider headers.
PrintPageInfo
Property PrintPageInfo() As Boolean
|