Search Results for

    Show / Hide Table of Contents

    Class UIMessageBoxEventArgs

    UIMessageBox event arguments

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

    Properties

    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
    System.Collections.Generic.List<System.String>

    Buttons

    Defined buttons.

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

    DefaultButton

    Default button value to return

    Declaration
    public UIButtonResult? DefaultButton { get; }
    Property Value
    Type Description
    System.Nullable<UIButtonResult>

    Header

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

    Declaration
    public string Header { get; }
    Property Value
    Type Description
    System.String

    Icon

    Defines the icon to be displayed.

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

    Image

    The name of the image to be used.

    Declaration
    public string Image { get; }
    Property Value
    Type Description
    System.String

    Message

    One text line to be written on the display.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    System.String

    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
    System.Collections.Generic.List<System.String>

    Wrap

    Concatenates MsgArray to one string.

    Declaration
    public bool Wrap { get; }
    Property Value
    Type Description
    System.Boolean
    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

    SendAnswer(UIButtonResult)

    Send response to the UI-Instruction

    Declaration
    public void SendAnswer(UIButtonResult uiButton)
    Parameters
    Type Name Description
    UIButtonResult uiButton
    In This Article
    Back to top Copyright © 2025 ABB