Message Box in Ctrlr

Home Forums General Panels, Components, Macros Message Box in Ctrlr

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #118620
    lecleto
    Participant
      • Topics: 10
      • Replies: 34
      • Total: 44

      Hello Ctrlrs!

      Is possible in Ctrlr create a message box for interact wiyh panel user?

      For example: “Patch Stored” witk an “ok” to close the message?

      How I can do this?

      Thanks in advance!

      #118624
      dnaldoog
      Participant
        • Topics: 4
        • Replies: 480
        • Total: 484
        • ★★

        Hi lecleto!

        Is this what you are after?

        
        myFunction = function(mod,value,source)
        local x=utils.questionWindow(
        "your title",
        "your message",
        
                    "Okay",
                    "Cancel")
            if x==false then
                return
            end
        console("you chose to do it!")
        end
        

        … or maybe you just mean this:

        utils.infoWindow("Patch Stored","")

        • This reply was modified 3 years, 9 months ago by dnaldoog.
        #118627
        lecleto
        Participant
          • Topics: 10
          • Replies: 34
          • Total: 44

          Mr. Dnaldoog, my partner developer, thank you one more time!

          The second option is excatly what I need! I´m in the end of my second panel, now for Roland JV-1010, JV-1080, Xp-50, Xp-60, XP-80, and I have in this panel a Button to store a patch, then when the user click on this button the Lua Code is started to request a dump from JV and also start timer to guarante a time to refresh the tables that will be used to calculate a a checksum that you also gived me away how to do, and when the timer goes to 1, after 1,5 second, calls the second function where the Roland checksum is calculated, the data patch is sended to JV and, at the end, I stop timer and show the message.

          Thank, thank thank you!!

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The forum ‘Panels, Components, Macros’ is closed to new topics and replies.
        There is currently 0 users and 29 guests online
        No users are currently active
        Forum Statistics
        Threads: 2,495, Posts: 17,374, Members: 77,605
        Most users ever online was 12 on January 22, 2019 3:47 pm
        Ctrlr