Window with OK No Cancel Result

Home Forums General Programming Window with OK No Cancel Result

This topic contains 3 replies, has 2 voices, and was last updated by atom atom 4 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13391
    lfo2vco
    lfo2vco
    Participant
    • Topics: 19
    • Replies: 133
    • Total: 152
    • ★★

    I’m just having a look at the Dialog Windows demo. What would need to be added to to the method to get the three buttons as per the attached screen grab?

    I’m guessing that you add ‘No’ between ‘OK’ & ‘Cancel’, but that doesn’t work does it?

    	ret = AlertWindow.showOkCancelBox(
    		AlertWindow.QuestionIcon, 
    		"Title",
    		"Message",
    		"OK",
    		"Froget it"
    Attachments:
    You must be logged in to view attached files.
    #13395
    atom
    atom
    Moderator
    • Topics: 156
    • Replies: 2940
    • Total: 3096
    • ★★★★★
    #13396
    lfo2vco
    lfo2vco
    Participant
    • Topics: 19
    • Replies: 133
    • Total: 152
    • ★★

    showYesNoCancelBox() ?

    As usual I feel a right Muppet, I did try ‘showOkNoCancelBox()’. Close but no cigar!!!

    I’ll bookmark that JUCE page. I looked through: http://sourceforge.net/p/ctrlrv4/code/1284/tree/nightly/Source/Lua/JuceClasses/
    not realising the alert box is a JUCE thingy. Cheers.

    #13397
    atom
    atom
    Moderator
    • Topics: 156
    • Replies: 2940
    • Total: 3096
    • ★★★★★

    Yeah you are looking at the code repository from a long time ago use the HEAD revision always:
    http://sourceforge.net/p/ctrlrv4/code/HEAD/tree/nightly/Source/Lua/JuceClasses/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There is currently 0 users and 28 guests online
No users are currently active
Forum Statistics
Threads: 2,102, Posts: 14,745, Members: 7,535
Most users ever online was 5 on March 28, 2018 6:11 pm
Do NOT follow this link or you will be banned from the site!