Skip to content

Instantly share code, notes, and snippets.

@montegoulding
Created February 8, 2017 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save montegoulding/e3cccc1587814b96107f540b53265bb6 to your computer and use it in GitHub Desktop.
Save montegoulding/e3cccc1587814b96107f540b53265bb6 to your computer and use it in GitHub Desktop.
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