|
|
|
|
|
ProgressBarEnable (Function) In french: JaugeActive
Warning
From version 24, GaugeActivate is kept for backward compatibility. This function has been replaced with ProgressBarEnable.
Enables the refresh of a Progress Bar via AJAX. Caution: This function cannot be used in a PHP or AWP site..
CellDisplayDialog(CELL_ProgBar)
ProgressBarEnable(PROGBAR_Copy)
FOR I = JAUGE_SansNom1.BorneMin _TO_ JAUGE_SansNom1.BorneMax
JAUGE_SansNom1 = I
Multitask(-1)
END
ProgressBarEnable(JAUGE_SansNom1, 10)
Syntax
ProgressBarEnable(<Progress Bar control> [, <Period> [, <Automatic stop>]])
<Progress Bar control>: Control name Progress Bar control to use. <Period>: Optional integer or optional Duration Period for refreshing the Progress Bar in hundredths of a second. This parameter can correspond to: - an integer corresponding to the number of hundredths of a second,
- a Duration variable,
- the duration in a readable format (e.g., '1s', '10cs' or '10ms').
This period is set to 1000 hundredths of a second by default. <Automatic stop>: Optional boolean Indicates whether the refresh of the progress must be stopped automatically (True, default value) at the end of the server call. Remarks The refresh of the Progress Bar is regularly performed from the browser by interrogating the server. In server code, the position of the progress bar is changed by modifying the value ( Value property) of the Progress Bar control. The refresh being provoked by the browser, the modifications in server code may not be immediately applied to the browser control. Warning It's important not to call the server too frequently, so as not to override it unnecessarily with requests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|