Window with OK No Cancel Result

Home Forums General Programming Window with OK No Cancel Result

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13391
    lfo2vco
    Participant
      • Topics: 26
      • Replies: 162
      • Total: 188
      • ★★

      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.

      Here is some noise I organised into an acceptable format:
      https://soundcloud.com/lfo2vco/a-dark-crystal

      #13395
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★
        #13396
        lfo2vco
        Participant
          • Topics: 26
          • Replies: 162
          • Total: 188
          • ★★

          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.

          Here is some noise I organised into an acceptable format:
          https://soundcloud.com/lfo2vco/a-dark-crystal

          #13397
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            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)
          • The forum ‘Programming’ is closed to new topics and replies.
          There is currently 0 users and 63 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