SetTaskFontWeight

Return to Introduction  Previous page  Next page

With this method you can set a task to be draw with bold text.

 

 

Prototypes:

SetTaskFontWeight(<LONG HeaderID>, <LONG TaskID>, BYTE bIsBold)

 

Arguments:

HeaderID

A previously obtained ID for parent header the task should be added to. If you ommit this value the justification will be set for the last added task .

TaskID

The unique ID of the task you want to set justification for. If you ommit this value the justification will be set for the last added task .

bIsBold

If this value is True, the task will be drawn with bold text. If False, the task will be drawn as normal.

 

Example:

TaskPanel5.SetTaskFontWeight(Taskpanel5.Header1, Taskpanel5.Header1_Task1, TRUE)

 

 



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