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
    lecletolecleto
    Participant
    • Topics: 9
    • Replies: 31
    • Total: 40

    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
    dnaldoogdnaldoog
    Participant
    • Topics: 3
    • Replies: 376
    • Total: 379
    • ★★

    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 1 month, 1 week ago by dnaldoogdnaldoog.
    #118627
    lecletolecleto
    Participant
    • Topics: 9
    • Replies: 31
    • Total: 40

    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)
  • You must be logged in to reply to this topic.
There is currently 0 users and 30 guests online
No users are currently active
Forum Statistics
Threads: 2,393, Posts: 16,749, Members: 59,305
Most users ever online was 12 on January 22, 2019 3:47 pm
Do NOT follow this link or you will be banned from the site!