GetTaskInfo

Return to Introduction  Previous page  Next page

Retrive info about a task.

 

 

Prototype:

GetTaskInfo(LONG HeaderID, LONG TaskID),POB:TaskInfo

 

Arguments:

HeaderID

The unique ID of the header in wich the task resides.

TaskID

The unique ID of the task you want info from (if set to 0, header info for HeaderID is returned instead)

 

Returns

Upon succesfull return, this function will return a POB:TaskInfo-group.

 

See also:

SetTaskInfo

 

Example:

HeaderInfo           GROUP(POB:TaskInfo),PRE(HIG) .

TaskInfo             GROUP(POB:TaskInfo),PRE(TIG) .

 

Code

HeaderInfo = Self.GetTaskInfo(HeaderID, 0)

If HeaderInfo = '' Then Return .

  

TaskInfo = Self.GetTaskInfo(HeaderID, TaskID)

If TaskInfo = '' Then Return .

  

Message('Header: ' & HeaderInfo.Title & '<13,10><13,10>' & |

         'Title: ' & TaskInfo.Title & '<13,10>' & |

         'Icon: ' & TaskInfo.IconName & '<13,10>' & |

         'Visible: ' & TaskInfo.IsVisible, 'You clicked a task',ICON:Asterisk,'Ok',1)

 



Direct link to this page on our website: http://www.icetips.com/manuals/outlookbar/gettaskinfo.htm