GraffitiAlertMessage

Enumerations #

NameValues
 ButtonPositionsLeft
Center
Right

Constants #

NameTypeValue
  This class exposes no constants.

Events #

DefinitionDescription
 This class exposes no events.

Constructors #

NameParameters
ConstructormsgName as String
msgContent as String
msgTitle as String = “”
ConstructormsgName as String
msgContent as String
msgIndicator as WebUIControl.Indicators
msgTitle as String = “”
ConstructormsgName as String
msgContent as String
msgTimeout as Integer
msgPosition as GraffitiAlert.MessagePositions
msgProgressbar as Boolean = True
msgTitle as String = “”

Properties #

NameTypeDefault ValueDescription
ButtonAlignmentButtonPositionsButtonPositions.LeftPosition within the alert’s footer where buttons will be displayed.
ButtonAreaStyleGraffitiStyleNilGraffitiStyle applied to the area of the alert which contains any buttons.
Buttons()GraffitiWebAlertButtonNilButtons to be displayed on the Alert.
CanOverflowBooleanFalseDetermines whether other objects will be able to extend outside the alert’s area.
CloseButtonBooleanFalseIf True a close button will be displayed to allow users to dismiss the alert.
CloseOnInteractionBooleanTrueControls whether interactions with buttons or the modal backdrop will close the message.
ContentString“”The content of the alert.
ContentContainerWebContainerNilThe WebContainer to embed within the alert. The container must be loaded in the browser using EmbedWithin first.
ContentStyleGraffitiStyleNilGraffitiStyle to apply to the alert’s content area.
DraggableBooleanFalseWhen True and the message has a title, it can be dragged around the page.
IconString“”The FontAwesome 5 Icon identifier for the alert, IE: fas fa-times
IconStyleGraffitiStyleNilGraffitiStyle applied to the icon within the message.
IndicatorWebUIControl.IndicatorsDefault Bootstrap Indicator to apply to the message.
LeftInteger-1Left position of the alert when shown. -1 for default.
HeightInteger-1Height of the alert when shown. -1 for auto.
MaximizeButtonBooleanFalseWhen True and the message has a title, a Maximize button will be displayed in the titlebar.
Minimize ButtonBooleanFalseTrue and the message has a title, a Minimize button will be displayed in the titlebar.
ModalBooleanFalseIf True clicks outside the alert will be ignored.
NameString“”A unique name provided to the alert for identification purposes. If two alerts have the same name and you try to show Alert2 while Alert1 is visible, Alert2 will never be shown as it is viewed as duplicate. This should contain no spaces or other special characters. _ or - are acceptable.
PositionGraffitiWebAlert.MessagePositionsTopThe position of the alert within the browser window.
ProgressbarBooleanTrueDisplays a progressbar that counts down with the Timeout property.
ResizableBooleanFalseWhen True, the alert can be resized from the East and South edges, as well as the SouthEast corner.
StyleGraffitiStyleNilCustom GraffitiStyle for altering the appearance of the alert.
TagVariantNilDeveloper storage.
TimeoutInteger10000How long the alert will be visible on the screen. A value of 0 disables the automatic dismissal.
TitleString“”Text shown within the alert’s titlebar when applicable.
TitleStyleGraffitiStyleNilGraffitiStyle applied to the titlebar area of the alert when applicable.
TopInteger-1Top position of the alert when shown. -1 for default.
WidthInteger-1Width of the alert when shown. -1 for default.

Examples #

There are currently no examples for this class.