version 2003
PA_Dial4DSetTime (dialog; variable; newValue)
Parameter | Type | Description | |
dialog | PA_Dial4D | Dialog reference | |
variable | char* | Name of the variable to access | |
newValue | long | New time value |
Description
The routine PA_Dial4DSetTime sets the value of a variable whose name is variable to the value in newValue (number of seconds). This variable will become a time; there is no conversion.
Examples
Set a time variable to 11 hours, 20 minutes and 32 seconds.
PA_Dial4DSetTime( dialog, "vTime", ( 11 * 3600 ) + ( 20 * 60 ) + 32 );
See Also
Error Handling
None.