SetJustification |
Set the justification for a tasks text.
Prototypes:
SetJustification(<LONG HeaderID>, <LONG TaskID>, BYTE bAlignment)
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 . |
bAlignment |
Specify one of the following equates:
TALIGN_DEFAULT - Make space for icon (even if there's no icon) TALIGN_LEFT - Left aligned text TALIGN_CENTER - Center the text TALIGN_RIGHT - Right align text
|
Example:
TaskPanel5.SetJustification(Taskpanel5.Header1, Taskpanel5.Header1_Task1, TALIGN_RIGHT)