Search Results for

    Show / Hide Table of Contents

    Class UIMessageBoxEventArgs

    UIMessageBox event arguments

    Inheritance
    object
    EventArgs
    UIInstructionEventArgs
    UIMessageBoxEventArgs
    Inherited Members
    UIInstructionEventArgs.Instruction
    UIInstructionEventArgs.StackUrl
    UIInstructionEventArgs.TaskName
    UIInstructionEventArgs.ExecutionLevel
    UIInstructionEventArgs.EventMessage
    UIInstructionEventArgs.InstructionEventType
    UIInstructionEventArgs.InstructionType
    EventArgs.Empty
    Namespace: ABB.Robotics.Controllers.RapidDomain
    Assembly: ABB.Robotics.Controllers.PC.dll
    Syntax
    public class UIMessageBoxEventArgs : UIInstructionEventArgs

    Properties

    View Source

    BtnArray

    User defined buttons stored in an array. Only one of parameter \Buttons or \BtnArray can be used at the same time.

    Declaration
    public List<string> BtnArray { get; }
    Property Value
    Type Description
    List<string>
    View Source

    Buttons

    Defined buttons.

    Declaration
    public UIButton Buttons { get; }
    Property Value
    Type Description
    UIButton
    View Source

    DefaultButton

    Default button value to return

    Declaration
    public UIButtonResult? DefaultButton { get; }
    Property Value
    Type Description
    UIButtonResult?
    View Source

    Header

    Header text to be written at the top of the message box.

    Declaration
    public string Header { get; }
    Property Value
    Type Description
    string
    View Source

    Icon

    Defines the icon to be displayed.

    Declaration
    public UIIcon Icon { get; }
    Property Value
    Type Description
    UIIcon
    View Source

    Image

    The name of the image to be used.

    Declaration
    public string Image { get; }
    Property Value
    Type Description
    string
    View Source

    Message

    One text line to be written on the display.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string
    View Source

    MsgArray

    Several text lines to be written on the display. Only one of parameter Message or MsgArray can be used at the same time.

    Declaration
    public List<string> MsgArray { get; }
    Property Value
    Type Description
    List<string>
    View Source

    Wrap

    Concatenates MsgArray to one string.

    Declaration
    public bool Wrap { get; }
    Property Value
    Type Description
    bool
    Remarks

    If selected, all the specified strings in the argument MsgArray will be concatenated to one string with a single space between each individual string and using as few lines as possible.

    Methods

    View Source

    SendAnswer(UIButtonResult)

    Send response to the UI-Instruction

    Declaration
    public void SendAnswer(UIButtonResult uiButton)
    Parameters
    Type Name Description
    UIButtonResult uiButton
    • View Source
    In this article
    Back to top Copyright © 2026 ABB Robotics