![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 207
1998-2004 Gravitybox Software LLC
UseCategories - determines the loading/saving state of
this collection
UseNoDropAreas - determines the loading/saving state
of this collection
UseProviders - determines the loading/saving state of
this collection
UseRooms - determines the loading/saving state of this
collection
IsDayVisible
Function IsDayVisible(pdtDate As Date)
As Boolean
Given a date, this method will return a Boolean value
indicating if that date is in the viewable window. A
schedule may be much larger than the viewing window.
This method can be used in conjunction with the
ShowDay method to check if a particular date is visible
and if not bring it into the viewing window.
IsEnabledAreaByValues
Function IsEnabledAreaByValues(ByVal
dtDate As Date, ByVal lRoom As Long,
ByVal dtTime As Date, ByVal plLength As
Long, ByVal pbCheckTimeOnly As Boolean)
As Boolean
This method will return whether an area is enabled.
After setting up the NoDropAreas collection, you may
need to know if an appointment may be placed at a
specific position. This method will take date, room,
time, and length information and return True or False
whether this position is blocked. No error occurs if an
appointment is inserted inside of a NoDropZone
through code, but if the user may become confused if
he sees appointments in blocked areas.
IsRoomVisible
Function IsRoomVisible(pvRoom) As
Boolean
Given a room, this method will return a Boolean value
indicating if that room is in the viewable window. A
schedule may be much larger than the viewing window.
This method can be used in conjunction with the
ShowRoom method to check if a particular room is
visible and if not bring it into the viewing window.
IsTimeVisible
Function IsTimeVisible(pdtTime As Date)
|