WebPages Element Property Tags
The following table contains the element properties, which will automatically be published in the IDE as tags when the element is added to a WebPage. These properties can be set via bindings and WebPage Elements Event Handler Scripts, and can be accessed in the Tags Window.
Element | Property | Tag | Type |
---|---|---|---|
CheckBox | Checked | $WebPages.[PageName].CheckBox.Checked | Boolean |
DataTable | Content | $WebPages.[PageName].DataTable.Content | TableData |
DateTime Entry | Format | $WebPages.[PageName].DateTimeEntry.Format | String |
Value | $WebPages.[PageName].DateTimeEntry.Value | String | |
Display | Image Rotation | $WebPages.[PageName].Display.ImageRotation | Integer |
Is Any Graphics At Invalid | $WebPages.[PageName].Display.IsAnyGraphicsAtInvalid | Boolean | |
Is Editing In Progress | $WebPages.[PageName].Display.IsEditingInProgress | Boolean | |
Selected Graphic | $WebPages.[PageName].Display.SelectedGraphic | CjsDisplayData | |
Selected Handle | $WebPages.[PageName].Display.SelectedHandle | CjsDisplayData | |
Zoom Level | $WebPages.[PageName].Display.ZoomLevel | Double | |
Zoom Type | $WebPages.[PageName].Display.ZoomType | Integer | |
Display Data Editor | Data | $WebPages.[PageName].DisplayDataEditor.Data | CjsDisplayData |
ListBox | Content | $WebPages.[PageName].ListBox.Content | TableData |
Selected Index | $WebPages.[PageName].ListBox.SelectedIndex | Integer | |
Selected Value | $WebPages.[PageName].ListBox.SelectedValue | String | |
Numeric Entry | Value | $WebPages.[PageName].NumericEntry | Double |
Radio Button | Checked | $WebPages.[PageName].RadioButton.Checked | Boolean |
Selection Box | Content | $WebPages.[PageName].SelectionBox.Content | TableData |
Selected Index | $WebPages.[PageName].SelectionBox.SelectedIndex | Integer | |
Selected Value | $WebPages.[PageName].SelectionBox.SelectedValue | String | |
Slider | Value | $WebPages.[PageName].Slider.Value | Integer |
TextBox | Text | $WebPages.[PageName].TextBox.Text | String |
Note:
- The properties of the elements are the same as those exposed in the Web Page Editor, minus the white space between the names (i.e. Border Color > BorderColor).
- When an element with a published property tag is placed on a Panel or in a Group, the path name of the element changes to include the name of the Panel or Group. For example, WebPages.WebPageName.PanelName.CheckboxName.Checked. If the element is ungrouped or removed from the Panel, the path name will be changed; for example, WebPages.WebPageName.GroupName.SelectionBoxName.Content becomes WebPages.WebPageName.SelectionBoxName.Content.