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

Gravitybox Schedule Primer
Page 127 
1998-2004 Gravitybox Software LLC
ForeColor
Determines the color of all text.
GridColorEmpty
Determines the color of the grid lines that do not
have tasks displayed in them.
GridColorFull
Determines the color of the grid lines that have
tasks displayed in them.
RightToLeft
Determines if the text is to be displayed right-to-left
in certain, supported languages.
RowHeight
(Read-Only) The height of each row in pixels.
SelectedItem
The Task object that is currently selected. If the add
portion of the screen has focus then this property is
set to nothing, since no Task is selected.
Tasks
This is the collection of Task objects that are
displayed in the TaskList.
TimeFormat
Determines the hour-format of displayed time in
columns marked as type time. The possible values
are 12-hour and 24-hour.
TimeFormatString
Determines the time format of text displayed in
columns marked as type time. This is a full format
string including hour, minute, and seconds.
ToolTipTextBackColor
Determines the background color of the bubble tips.
ToolTipTextForeColor
Determines the text color of the bubble tips.
TopRow
This is the top row displayed in the view port.
UseUnicode
Determines if a 2-byte language is supported.
VisibleRows
(Read-Only) This is the number of rows that are
visible with the current height of the TaskList.
Much like the Schedule control, the TaskList may also save its state to a file. The
ExportXML and ImportXML properties may be used to store the column configuration
and the associated tasks to and from a file. The functions take an object of type
CXMLTaskParameters. This object stores the necessary settings to save and load the
file. The following routines are examples of saving and load a TaskList file. 
Private Sub SaveFile()
 
Dim oXMLParameters As New CXMLTaskParameters
 
  oXMLParameters.FileName = "c:\tasks.xml"
  oXMLParameters.Overwrite = True
  oXMLParameters.SaveDefaults = False
  oXMLParameters.UseColumns = True
  Call TaskList1.ExportXML(oXMLParameters)
  Call MsgBox("The file was saved to '" & _
          oXMLParameters.FileName & "'", vbInformation)
http://www.purepage.com