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

Gravitybox Schedule Primer
Page 128 
1998-2004 Gravitybox Software LLC
  Set oXMLParameters = Nothing
 
End Sub
Private Sub LoadFile()
 
Dim oXMLParameters As New CXMLTaskParameters
 
  Call TaskList1.Columns.Clear
  Call TaskList1.Tasks.Clear
 
  oXMLParameters.UseColumns = True
  oXMLParameters.FileName = "c:\tasks.xml"
  Call TaskList1.ImportXML(oXMLParameters)
  Set oXMLParameters = Nothing
  Call TaskList1.Refresh
 
End Sub
 
Other functionality includes the controlling of each task item by using the ForeColor
property of each task object. In addition you may store any number of extra information
using a task object’s “ExtraProperties” collection. This is a collection of name / value
pairs that be used to store anything. You may address the collection by name or index
to retrieve its associated value setting. You may not need this functionality but if you
have a large amount of data to store with a task this collection comes in quite handy.
Contacts Control
If ever you have needed a control to save people, this is the
one for you. The control is modeled after the contacts
module of MS-Outlook. It allows you to store many
attributes associated with a person. Some properties that a contact has are name,
home phone, mobile, and business phone. Many of there are displayed on the contact
control is populated with data.
Figure 13.5
Quick Tip
Add MS-Outlook type contacts to an
application with the Contacts control
http://www.purepage.com