An explanation of the Value Box Control for Axiom.
Value Box

Displays real time values with applied formatting with optional pretext or post text descriptions.
Name - The name used by the application and script to reference this control.
X - Number of pixels from the left edge of the containing panel or screen.
Y - Number of pixels from the top edge of the containing panel or screen.
Width - Width of the control in pixels.
Format - Standard numeric format strings are used to format common numeric types in the Value Box. A pretext can be added before the “{“ and a post text can be added after the “}”, as in “Flow {0:G} GPH”
TextSize - Text size has four options; Small, Normal, Large, or ExtraLarge.
HorizontalAlign - Position of the text within the label: Left, Center, or Right.
SourceTag - Clicking the trend icon launches the tag browser to select a tag for value input. Clicking the trashcan will delete the reference to the tag. Assigning a tag to a value box allows the designer to set limits which can change the color of the value box.
LimitLow - The SourceTag value falling below this value will change the color to
the LimitLowColor.
LimitHigh - The SourceTag value going above this value will change the color to
the LimitHighColor.
Color - The normal color of the symbol. Pick from the color picker or enter the
hexadecimal value.
LimitLowColor - The color of the symbol when the SourceTag value drops below
the LimitLow value. Pick from the color picker or enter the hexadecimal value.
LimitHighColor - The color of the symbol when the SourceTag value goes above
the LimitHigh value. Pick from the color picker or enter the hexadecimal value.
Visible - Unchecking this will hide the control. A script would be required to toggle the visibility during runtime.
OnClick - An event that occurs when the control is clicked. Clicking "<>" Creates a
"ValueBox1_Click()" script stub for this control and opens the script editor to add
event scripting. Clicking the trash can will delete only the reference to the script,
not the script.
OnValueChange - An event that occurs when the SourceTag value changes.
Clicking "<>" Creates a "ValueBox1_ValueChange()" script stub for this control and
opens the script editor to add event scripting. Clicking the trash can will delete
only the reference to the script, not the script.
Comments
0 comments
Article is closed for comments.