(Contents)(Previous)(Next)

Priority (property)

Description: The task priority. This can take on whatever value you like. However, OfficeTalk can only display values in the range 0-4.
Type: long
Default: 1 (0- high, 1- Medium, 2-Low, 3-user defined, 4-user defined)
Example:
Dim session As Object

Dim user As Object

Dim tasks As Object

Dim task As Object

Set session = CreateObject("OfficeTalk.Session")

Set user = Call session.Logon(login name, password)

Set tasks = user.tasks

Set task = tasks.Add

task.Priority = 0

MsgBox "Priority is " & Str(task.Priority)


Next