OverviewExamples
DlgListBox.SetProperties ( |
Sets the properties of a list box 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 list box control whose properties you want to set.
(table) A table containing the list box 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}. |
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