Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PR 1537 script of stack "message box"
on ideInitialiseMessageBox
dispatch "setAsBehavior" to stack revIDEPaletteResourcePath("/behaviors/revmessageboxbehavior.livecodescript") with the long id of me
set the behavior of card "Single Line" of me to the long id of stack revIDEMessageBoxBehavior("single line card")
set the behavior of field "message" of card "Single Line" of me to the long id of stack revIDEMessageBoxBehavior("single line message")
set the behavior of card "Multiple Lines" of me to the long id of stack revIDEMessageBoxBehavior("multiple lines card")
set the behavior of field "message" of card "Multiple Lines" of me to the long id of stack revIDEMessageBoxBehavior("multiple lines message")
revIDESubscribe "ideMsgChanged"
end ideInitialiseMessageBox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.