Table of Contents

Enum MessageBoxMode

Namespace
DuetAPI.ObjectModel
Assembly
DuetAPI.dll

Supported modes of displaying a message box

public enum MessageBoxMode

Fields

CloseOnly = 1

Display a message box with only a Close button

FloatInput = 6

Floating-point value required, blocking

IntInput = 5

Integer value required, blocking

MultipleChoice = 4

Multiple choices, blocking

NoButtons = 0

Display a message box without any buttons

OkCancel = 3

Display a message box with an Ok button that sends M292 P0 or a cancel button that sends M292 P1 when clicked, blocking

OkOnly = 2

Display a message box with only an Ok button which is supposed to send M292 when pressed, blocking

StringInput = 7

String value required, blocking