UNIQO Help
Home
News
Help
Download
English Italiano Deutsche
Home
News
Help
Download
English Italiano Deutsche
  • Help
  • This manual
  • Presentation and installation
  • Quick start
  • Basic concepts
  • First steps
  • Main features
  • Advanced features
  • Customization using C#
  • Application examples
  • Object and variable references
    • QPlatform.Alarm
    • QPlatform.CoDeSysDriver
    • QPlatform.CommunicationDriver
    • QPlatform.Core
    • QPlatform.CoreBase
    • QPlatform.Datalogger
    • QPlatform.EthernetIPDriver
    • QPlatform.EventLogger
    • QPlatform.FileSystem
    • QPlatform.HMIProject
    • QPlatform.MelsecFX3UDriver
    • QPlatform.MitsubishiQDriver
    • QPlatform.ModbusDriver
    • QPlatform.NativeUI
    • QPlatform.ODBCStore
    • QPlatform.OPCUAClient
    • QPlatform.OPCUAServer
    • QPlatform.OmronEthernetIPDriver
    • QPlatform.OmronFinsDriver
    • QPlatform.Recipe
    • QPlatform.Report
    • QPlatform.Retentivity
    • QPlatform.S7TCPDriver
    • QPlatform.S7TiaProfinetDriver
    • QPlatform.SQLiteStore
    • QPlatform.SerialPort
    • QPlatform.Store
    • QPlatform.System
    • QPlatform.TagImporter
    • QPlatform.TwinCatDriver
    • QPlatform.UI
      • DataType
      • ObjectType
        • Abstract animation
        • Accordion
        • Accordion style
        • Activated
        • Advanced SVG Image
        • Animation of behavior
        • Array line pen
        • Base UI object type
        • Button
        • Button style
        • Chart style
        • Check box
        • Circular gauge
        • Combo box
        • Container
        • Content
        • Control style
        • Data grid
        • Data grid column
        • Data grid template element
        • Data input style
        • DataList style
        • Date and time
        • DateTimeAxis
        • Delay button
        • Dial
        • Dialog box
        • Dropdown button
          • Properties
        • Duration
        • Editable label
        • Editable text column
        • Element
        • Ellipse
        • Gauge style
        • Header
        • Histogram chart
        • Histogram chart style
        • Horizontal layout
        • IdleTimeoutEvent
        • Image
        • Image column
        • Label
        • LED
        • Linear gauge
        • List box
        • Modified text
        • Modified value
        • Mouse event
        • MouseClick event
        • MouseDoubleClick event
        • MouseDown event
        • MouseUp event
        • Navigation panel
        • Navigation panel item
        • Navigation panel style
        • Number animation
        • Option button
        • Panel
        • Panel loader
        • Parallel animation
        • PDF Viewer
        • Pie chart
        • Pie chart style
        • Polygon pen
        • PolyLine
        • Popup
        • Presentation engine
        • Range Slider
        • Rectangle
        • Scale line pen
        • Scroll view
        • ScrollBar style
        • Selection changed
        • Sequential animation
        • Spin box
        • Style sheet
        • SVG Element Property
        • Switch
        • Switch style
        • Text box
        • Text column
        • Toggle Button
        • Tooltip style
        • Trend
        • UI Session
        • Value axis
        • Vertical layout
        • Video
        • Warning zone
        • Web browser
        • Window
        • XY chart
        • XY chart line
        • XY chart pen
      • VariableType
    • QPlatform.WebUI
    • OPC-UA
  • Appendix
  1. Help
  2. Object and variable references
  3. QPlatform.UI
  4. ObjectType
  5. Dropdown button

Dropdown button¶

BrowseName: DropDownButton
SuperType: Button (Button)
TypeView path: Tipi > UI > Contenitori > Pulsante con pannello

Button that opens/closes a pop-up panel when clicked.

How It Appears

../../../_images/ref_DropDownButton_ex.gif

Configuring the object

The Panel alias node property makes it possible to specify the node to which any alias inside the panel to display points. It is possible to set this node via dynamic link to another node or via the Change panel method invoked by a NetLogic, by another object (e.g. a button), or by an OPC UA client. In this way it is possible to set the same panel for different buttons, but with different aliases, and therefore different displayed values.

Use the object at runtime

At runtime the object creates at each opening click, and deletes at each closing click, the nodes of the set panel.

If there is not enough space in width and/or height with respect to the set opening direction, the panel is opened in the opposite direction.

Properties¶

Name

BrowseName

DataType

Description

Panel

Panel

NodeId

Panel to be displayed. Must be a widget.

Panel alias node

PanelAliasNode

NodeId

Node to which to point any alias in the panel to be displayed.

Animation

AnimationType

DropDownButtonAnimationTypeEnum

Type of opening/closing animation.

Close on click inside

CloseOnClickInside

Boolean

Close the pop-up panel when clicking inside its area.

Close on click outside

CloseOnClickOutside

Boolean

Close the pop-up panel when clicking outside its area.

Direction

Direction

OrientationEnum

Direction of opening/closing of the panel, horizontal or vertical.

Text

Text

LocalizedText

Text inserted and displayed
(Inherited from Button)
Appearance

Appearance

String

Button style
(Inherited from Button)
Image path

ImagePath

ResourceUri

Icon to be displayed in the navigation tab of a Navigation panel object.
(Inherited from Button)
Image position

ImagePosition

Position

Position of the image to display
(Inherited from Button)
Text position

TextPosition

Position

Position of the text on the horizontal and vertical axes relative to the sides of the object
(Inherited from Button)
Image width

ImageWidth

Size

Width of the image to display. The Auto value sets the native width of the image.
(Inherited from Button)
Image height

ImageHeight

Size

Height of the image to display. The Auto value sets the native height of the image.
(Inherited from Button)
Word wrap

WordWrap

Boolean

Enable/disable the automatic word wrapping when the text is wider than the container. Ignored when the object width is automatic or when text abbreviation is set.
(Inherited from Button)
Text trimming

Elide

ElideEnum

Text trimming mode. Insert three dots (“…”) in the indicated position when the text is too long for the available space. Ignored when the object width is automatic or when word wrap is set.
(Inherited from Button)
Font family

FontFamily

Font

Font family
(Inherited from Button)
Font weight

FontWeight

FontWeightEnum

Font weight
(Inherited from Button)
Font italic

FontItalic

Boolean

Enables/disables italics in the text
(Inherited from Button)
Font size

FontSize

Size

Font size
(Inherited from Button)
Text color

TextColor

Color

Color of the text to display
(Inherited from Button)
Background color

BackgroundColor

Color

If the substyle Name = Default, Bordered Circular or Bordered Rectangular, it is the color of the button. If the substyle Name = Accent, the color is the one set in the style sheet in the Highlight color property.
(Inherited from Button)
Visible

Visible

Boolean

Show/hide the window.
(Inherited from Element)
Enabled

Enabled

Boolean

Enables/disables the interaction with the user (True = enabled; False = disabled).
(Inherited from Element)
Opacity

Opacity

Float

Opacity level (0 = transparent)
(Inherited from Element)
Left margin

LeftMargin

Size

(Only if Horizontal Alignment = Left or Center or Stretch) Distance between the left edge of the object and the left edge of its container.
(Inherited from Element)
Top margin

TopMargin

Size

(Only if Vertical Alignment = Top or Center or Stretch) Distance between the top edge of the object and the top edge of its container.
(Inherited from Element)
Right margin

RightMargin

Size

(Only if Horizontal Alignment = Right or Center or Stretch) Distance between the right edge of the object and the right edge of its container.
(Inherited from Element)
Bottom margin

BottomMargin

Size

(Only if Vertical Alignment = Bottom or Center or Stretch) Distance between the bottom edge of the object and the bottom edge of its container.
(Inherited from Element)
Width

Width

Size

Width of the window. It can assume values greater than or equal to zero. The Auto value sets the width equal to the width of the content (in this case, in the absence of content the object collapses).
(Inherited from Element)
Height

Height

Size

Height of the window. It can assume values greater than or equal to zero. The Auto value sets the height equal to the height of the content (in this case, in the absence of content the object collapses).
(Inherited from Element)
Horizontal alignment

HorizontalAlignment

HorizontalAlignment

Alignment of the object on the horizontal axis. Left = the left side is positioned on the left side of the container, except for the left margin; Right = the right side is positioned on the right side of the container, except for the right margin; Center = the center of the object is positioned in the center of the container, except for the left and/or right margins; Stretch = object width equals container width, except for the left and/or right margins.
(Inherited from Element)
Vertical alignment

VerticalAlignment

VerticalAlignment

Alignment of the object on the vertical axis. Top = the top side is positioned on the top side of the container, except for the top margin; Bottom = the bottom side is positioned on the bottom side of the container, except for the bottom margin; Center = the center of the object is positioned in the center of the container, except for the top and/or bottom margins; Stretch = object height equals container height, except for the top and/or bottom margins.
(Inherited from Element)
Rotation

Rotation

Size

Rotation of the object around its center point. Positive values indicate clockwise arc degrees.
(Inherited from Element)
© Copyright 2022 ASEM S.r.l.
This website or third-party tools used by this site use cookies necessary for the operation and useful for the purposes illustrated in the cookie policy.
If you want to learn more or opt out of all or some cookies, click here.
By continuing to browse, you consent to the use of cookies.