SetDisabled |
Use this method to disable or enable a task.
Prototypes:
SetDisabled(<LONG HeaderID>, <LONG TaskID>, BYTE bIsDisabled)
Arguments:
HeaderID |
A previously obtained ID for parent header the task should be added to. |
TaskID |
The unique ID of the task you want to set justification for. |
bIsDisabled |
If this value is True, the task will be disabled. If False, the task will be enabled. |
See also:
Example:
TaskPanel5.SetDisabled(Taskpanel5.Header1, Taskpanel5.Header1_Task1, TRUE)