OverviewExamples
DlgProgressBar.SetProperties ( |
Sets the properties of a progress bar control on the current screen.
Note: This action will only work if called from a screen's events and if the named control is on the current screen.
(number) The numeric ID of the progress bar control whose properties you wan to set.
(table) A table containing the progress bar control properties indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
Enabled |
boolean |
Enable or disable the control. Setting Enabled to true will enable the control and false will disable it. For example, tb.Enabled = true or {Enabled=true}. |
Text |
string |
The text you want to appear in the control. For example, tb.Text = "Sample Text" or {Text="Sample Text"}. |
Visible |
boolean |
Sets the visibility of the control. Setting it to true means the control will be visible and false means it will be invisible. For example, tb.Visible=true or {Visible=true}. |
Note: All changes will be made immediately and only the properties that you want to change need to be set.
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions