TOptControl.WaitFor Method

function WaitFor(ms: Integer): Boolean;

Returns True, if before ms amount of miliseconds has elapsed, the Stopped field was set to True

#NameTypeDescription
1msInteger

Returns: Boolean