- Found in:
- MCM Helper
- SkyUI
boolfunctionShowMessage(stringa_message, boola_withCancel=true, stringa_acceptLabel="Accept", stringa_cancelLabel="Cancel")
Description
GitHub Wiki Description (SkyUI)
Shows a message dialog.
This function works similar to Message.Show, so it will pause the script and wait until the user closed the dialog. The return value indicates whether the dialog was accepted or canceled.
Context
OnOptionSelect, OnOptionSliderAccept, OnOptionMenuAccept, OnOptionColorAccept, OnOptionKeyMapChange, OnOptionDefault
Documentation String
Shows a message dialog and waits until the user has closed it
Parameters
stringa_message
GitHub Wiki Description (SkyUI)
The message string. Use \n for line breaks.
boola_withCancel=true
stringa_acceptLabel="Accept"
stringa_cancelLabel="Cancel"
Examples
Auto-Generated Example
string myString__a_message
bool myBool__a_withCancel
string myString__a_acceptLabel
string myString__a_cancelLabel
bool returnedValue = mySKI_ConfigBase__toCallFunctionOn.ShowMessage(myString__a_message, myBool__a_withCancel, myString__a_acceptLabel, myString__a_cancelLabel)