![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 201
1998-2004 Gravitybox Software LLC
Methods
CloneItem
Function CloneItem(OldItem As
CScheduleEl, NewName As String, NewDate
As Date, NewRoom As String, NewStartTime
As Date) As CScheduleEl
This method returns a ScheduleItem that is an exact
copy of the one provided with the "OldItem" parameter.
Given a new Name, Date, Room and Time this function
adds a copy to the ScheduleItems collection and
returns a pointer to the new object.
DeleteItem
Function DeleteItem(ByVal Index As Long)
As Boolean
DeleteItem removes an item from the ScheduleItems
collection given a valid index. The return value is
Boolean, true if the item was removed, false otherwise.
EditItem
Function EditItem(ByVal Index As Long)
As Boolean
The EditItem method brings up the edit window for the
specified item index. This screen allows the user to
modify the contents of a scheduled item or if AllowEdit
is false to view the data. Also, keep in mind that the
ScheduleItem has a read-only property as well. If the
item being edited is read-only then the dialog will be
read-only as well. The return value is Boolean, true if
the item was modified, false otherwise.
If the user double-clicks an item then the following
behavior follows:
If AllowEdit is true then the Edit screen is displayed.
If AllowEdit is false then the read-only property screen
is displayed.
ExportHTML
Function ExportHTML(oHTMLParameters As
CHTMLParameters) As Boolean
An HTML page of a schedule can be created with this
method. The parameter object has the following values:
|