PA_Dial4DSetTime

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_Dial4DSetTime (dialog; variable; newValue)

ParameterTypeDescription
dialogPA_Dial4DDialog reference
variablechar*Name of the variable to access
newValuelongNew 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

PA_Dial4DGetTime.

Error Handling

None.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next