![]() |
Dial_DelayTicks |
Waits a specified period of time.
Syntax
Dial_DelayTicks ( switches ; ticks )
Parameters
switches | reserved for future use, leave empty or set to "-Unused" |
ticks | the time the function waits, in 1/60th of a second |
Returned Result
Data type returned
Number
Result
This function always returns 0.
Originated in
Troi Dialog Plug-in 3.7
Compatibility
FileMaker Pro 16 to 19
Considerations
A maximum time of 2 minutes can be specified.
On macOS there is a problem where FileMaker does not update the screen after a Dial_DelayTicks step, even if you do a different Set Field step. To workaround this please add this step before the Dial_DelayTicks step: Pause/Resume Script [ 0:00:00 ]
Example
Set Variable [ $ErrorCode ; Dial_DelayTicks ( "-Unused" ; 180 ) ]
will wait for 180 ticks = 3 seconds.
Used in example file
Delay.fmp12
Related topics
Troi Dialog Plug-in online help (overview)