Button Custom¶
This display contains a customizable button for navigation.
Parameters
Button 1:
label line 1 – Text of the button's first line
label line 2 – Text of the button's second line. If empty, label line 1 will be shown horizontally centered.
symbol – Symbol to be used if "visibility symbol" is set to visible; further scales can be selected from "Object Displays (ATVISE)/Symbols/20x20
symbol color – Color which will be applied to the symbol (default: global parameter atvSymbolColor)
symbol color active – Color which will be applied to the symbol when target display is loaded (default: global parameter atvFontColor2)
symbol scaling (%) – Factor for resizing the symbol (default: 200)
target display – Display to be loaded on button click
context menu – Global list containing the details of the context menu, which will be opened on clicking the button. If a context menu is stated, the target display setting has no effect. Refer to Global Parameters ‣ atvObjectDisplays ‣ CustomButtonsMenu to see how context menus can be correctly defined via global lists.
trigger – Trigger function which will be called on button click
fill color – Color which will be applied to the button background (default: global parameter atvFillColor)
fill color active – Color which will be applied to the button background when target display is loaded (default: global parameter atvFillColor2)
font size line 1 – Font size which will be applied to the first line of the button's label (default: 18)
font size line 2 – Font size which will be applied to the second line of the button's label (default: 18)
font weight line 1 – Font weight which will be applied to the first line of the button's label (default: normal)
font weight line 2 – Font weight which will be applied to the second line of the button's label (default: normal)
font color – Color which will be applied to the label (default: global parameter atvFontColor)
font color active – Color which will be applied to the label when target display is loaded (default: global parameter atvFontColor2)
focus stroke color – The color of the stroke which will be set when the button is focused (default: white)
necessary right – The user must have this right to activate this button, i.e. to press the button
activation address – If the value of this address equals to "activation value", then the button will be active, i.e. can be pressed
activation value – Value which activates the button
Button 2:
label line 1 – Text of the button's first line
label line 2 – Text of the button's second line. If empty, label line 1 will be shown horizontally centered.
symbol – Symbol to be used if "visibility symbol" is set to visible; further scales can be selected from "Object Displays (ATVISE)/Symbols/20x20
symbol color – Color which will be applied to the symbol (default: global parameter atvSymbolColor)
symbol color active – Color which will be applied to the symbol when target display is loaded (default: global parameter atvFontColor2)
symbol scaling (%) – Factor for resizing the symbol (default: 200)
target display – Display to be loaded on button click
context menu – Global list containing the details of the context menu, which will be opened on button click. If a context menu is stated, the target display setting has no effect. Refer to Global Parameters ‣ atvObjectDisplays ‣ CustomButtonsMenu to see how context menus can be correctly defined via global lists.
trigger – Trigger function which will be called on button click
fill color – Color which will be applied to the button background (default: global parameter atvFillColor)
fill color active – Color which will be applied to the button background when target display is loaded (default: global parameter atvFillColor2)
font size line 1 – Font size which will be applied to the first line of the button's label (default: 18)
font size line 2 – Font size which will be applied to the second line of the button's label (default: 18)
font weight line 1 – Font weight which will be applied to the first line of the button's label (default: normal)
font weight line 2 – Font weight which will be applied to the second line of the button's label (default: normal)
font color – Color which will be applied to the label (default: global parameter atvFontColor)
font color active – Color which will be applied to the label when target display is loaded (default: global parameter atvFontColor2)
focus stroke color – The color of the stroke which will be set when the button is focused (default: white)
necessary right – The user must have this right to activate this button, i.e. to press the button
activation address – If the value of this address equals to "activation value", then the button will be active, i.e. can be pressed
activation value – Value which activates the button
Context menu:
item height – Height of the context menu items (default: 50)
y-position – y position of the context menu (default: 42)
font family – Font family which will be applied to texts of the context menu (default: Arial)
font size – Font size which will be applied to texts of the context menu (default: 18)
font color – Color which will be applied to texts of the context menu (default: global parameter atvFontColor2)
symbol color hover – Symbol color on mouseover (default: global parameter atvFontColor)
background color – Background color of context menu's option elements (default: global parameter atvFillColor2)
hover color – Background color of context menu's option elements at mouseover (default: global parameter atvFillColor)
text alignment – Alignment of the context menu's texts (default: center)
maximum displayed items (0 = all) – Number of maximum items to be displayed per scrolling page (0 = scrolling off, default: 5)