The RefreshControl function allows you to update a control outside of the normal rule check.
Syntax | ||||
RefreshControl(Control) | ||||
Return value | ||||
None | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Control |
Control |
ByVal |
The control to be updated |
Example:
Dim i As Long
For i := 0 To FileCnt - 1
CopyFile(i)
Client.RefreshControl(CopyFormular.ProgressBar1)
EndFor
Note
Unlike this function the RefreshFormElements function checks all elements of a form to see if they need to be updated.
This function cannot be called from asynchronously started functions.