GraffitiSuite Docs
Docs
Graffitialertdialog
Loading document parsing libraries...
# GraffitiAlertDialog Class Inherits WebContainer ## Enumerations | Name | Value | Description | | --- | :---: | --- | | ButtonPositions | Left <br> Center <br> Right | Support button locations within the message. | | DisplayStates | Default <br> Minimized <br> Maximized | Possible window size and position states. | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | ButtonPressed | button as GraffitiAlertButton | (None) | Raised when one of the dialog's buttons is pressed. | | Closed | (None) | (None) | Raised when the dialog is closed. | | Hidden | (None) | (None) | Raised when the dialog is hidden. | | Maximized | (None) | (None) | Raised when the dialog is maximized. | | Minimized | (None) | (None) | Raised when the dialog is minimized. | | Resized | (None) | (None) | Raised when the dialog is resized. | | Restored | (None) | (None) | Raised when the dialog is restored. | | Shown | (None) | (None) | Raised when the dialog is shown on-screen. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Close | (None) | (None) | | | Constructor | parent as GraffitiAlert | (None) | | | Attributes | Hidden | onClose | | | Attributes | Hidden | raiseButtonPressed | | | Attributes | Hidden | raiseHidden | | | Attributes | Hidden | raiseMaximized | | | Attributes | Hidden | raiseMinimized | | | Attributes | Hidden | raiseResized | | | Attributes | Hidden | raiseRestored | | | Attributes | Hidden | raiseShown | | | Show | (None) | (None) | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | mDisplayState | GraffitiAlertDialog.DisplayStates | | | Attributes | mID | String | | | Attributes | parentRef | WeakRef | | | ButtonAlignment | ButtonPositions | Nil | Position within the alert's footer where buttons will be displayed. | | ButtonAreaStyle | GraffitiStyle | Nil | GraffitiStyle applied to the area of the alert which contains any buttons. | | Buttons() | GraffitiAlertButton | Nil | Buttons to be displayed on the Alert. | | CanOverflow | Boolean | Nil | | | CloseButton | Boolean | Nil | | | ContentStyle | GraffitiStyle | Nil | GraffitiStyle to apply to the alert's content area. | | DisplayState | GraffitiAlertDialog.DisplayStates | Nil | Current window size and position state. | | Draggable | Boolean | True | When True and the message has a title, it can be dragged around the page. | | Icon | String | Nil | | | IconStyle | GraffitiStyle | Nil | | | MaximizeButton | Boolean | Nil | | | MaximumHeight | Integer | Nil | | | MaximumWidth | Integer | Nil | | | MinimizeButton | Boolean | Nil | | | MinimumHeight | Integer | Nil | | | MinimumWidth | Integer | Nil | | | Modal | Boolean | False | If True clicks outside the alert will be ignored. | | Resizable | Boolean | False | When True, the alert can be resized from the East and South edges, as well as the SouthEast corner. | | Tag | Variant | Nil | Developer storage. | | Title | String | Nil | | | TitleStyle | GraffitiStyle | Nil | | | WindowStyle | GraffitiStyle | Nil | | | ZIndex | Integer | Nil | |