TSdlMessageBoxData
MessageBox structure containing title, text, window, etc.
Definition
Unit: Neslib.Sdl3.Additional
Fields
Name | Description |
---|---|
Buttons | Array of buttons |
ColorScheme | Pointer ta TSdlMessageBoxColorScheme. Can be nil to use system settings |
Flags | Message box flags |
Text | Message text |
Title | Title |
Window | Parent window, can be nil |
Constructors
Name | Description |
---|---|
Create | Creates a messages box color. |
Field Descriptions
Buttons
Array of buttons
var Buttons: TArray<TSdlMessageBoxButtonData>
Type: TArray<TSdlMessageBoxButtonData>
ColorScheme
Pointer ta TSdlMessageBoxColorScheme. Can be nil to use system settings
var ColorScheme: PSdlMessageBoxColorScheme
Type: PSdlMessageBoxColorScheme
Flags
Message box flags
var Flags: TSdlMessageBoxFlags
Type: TSdlMessageBoxFlags
Text
Message text
var Text: String
Type: String
Title
Title
var Title: String
Type: String
Window
Parent window, can be nil
var Window: TSdlWindow
Type: TSdlWindow
Constructor Descriptions
Create
Creates a messages box color.
constructor Create(const AFlags: TSdlMessageBoxFlags; const ATitle, AMessage: String)
Parameters
AFlags
: TSdlMessageBoxFlags
: Message box flags.
ATitle
: String
: The title.
AMessage
: String
: The message text.