Why is a modal box similar to The Terminator?

Home Forums General Programming Why is a modal box similar to The Terminator?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #117994
    shooking
    Blocked
      • Topics: 14
      • Replies: 60
      • Total: 74

      It absolutely will not die!

      Setting a default value for a combo and Text block in AlertWindow

      I need to find a way to make the lights in his little red eye’s go out.

      It seems one sets the visibility to 0 … but well will that really kill it?
      I mean I make my components invisible and I am sure they dont go away.

      Might I end up creating a plethora of these invisible modal boxes?
      If I click my Windows task bar Ctrl’s Icon there’s a lot of them – like Beta fighters on Defender (youngsters wont get that reference). I just want to kill it.

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

        Hi shooking,

        I’m not that young and don’t get the reference! Anyway, try…

        
        local previousRecordedChoice=3 -- 3 was the last selected value or a default you want to use
        	modalWindow:getComboBoxComponent("myCombo"):setSelectedItemIndex(previousRecordedChoice,2)
        

        Also see my panel ‘Roland Checksum Calculator’ – loath to post the URL else this post gets suspended.
        :)

        #118021
        shooking
        Blocked
          • Topics: 14
          • Replies: 60
          • Total: 74

          I thought one of us was having a senior moment – but infact you were lucid as ever 🙂
          So yes I should have just tried modalWindow:setVisible (false)

          Now to change my previous combo boxes to LCD’s backed by model choice.
          And I spelt it wrong baiter rather than beta 🙂

          Attachments:
          You must be logged in to view attached files.
          #118041
          shooking
          Blocked
            • Topics: 14
            • Replies: 60
            • Total: 74

            ok so I see some post marked as solved – and this is .. how to modify it?
            Do I need to do it as the starter? If so, help! I dont see obvious way to achieve it.

          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 103 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