PhaseSetCtrlButton2WC()
- Last UpdatedJun 23, 2017
- 1 minute read
This method performs the second control button action for the currently selected phase in the PhasePhase list. This method should only be called if the Enable Control Button 2 bit is set in the value returned from the PhaseGetEditMask method. The return code is a Short integer value that can be used for error handling.
For more information on the error codes returned, see "Error Return Values".
NOTE: You must use the PhaseSetCtrlButton2WC() method when the DoneByComment and CheckByComment is made mandatory in the System Parameter.
Syntax
ReturnCode = OcxBatchVar.PhaseSetCtrlButton2WC (DoneBy, CheckBy, DoneByPswd, CheckByPswd, DoneByComment, CheckByComment)
Parameters
DoneBy
Data Type: String
Done by user ID
CheckBy
Data Type: String
Check by user ID
DoneByPswd
Data Type: String
Done by password
CheckByPswd
Data Type: String
Check by password
DoneByComment
Data Type: String
Done by comment
CheckByComment
Data Type: String
Check by comment