• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Control panel buttons color change programmatically?

    How To... ?
    3
    4
    592
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bonemap
      bonemap Izzy Guru last edited by Woland

      hi,

      Is there any way to programmatically change the color of a control button based on its toggle status? Is there a way to programmatically switch out background images assigned to control buttons or any other element of the control panel?

      Thanks in advance for your advice.

      Best wishes

      Russell

      http://bonemap.com | Australia
      Izzy STD 4.2 | USB 3.6 | + Beta
      MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
      Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
      A range of deployable older Macs

      Woland 1 Reply Last reply Reply Quote 0
      • J
        jandraka last edited by

        Hi,

        If you create an image whose size is twice as high as it is wide, with different content on one half and the other, when you create a toogle button you will have different backgrounds.
        I hope that helps

        Best

         Javi

        background-button.izz

        MBP M2 Max 32 GB. MacOS 13.7.3 Isadora 3.2.6 - 4.0.7

        bonemap 1 Reply Last reply Reply Quote 5
        • bonemap
          bonemap Izzy Guru @jandraka last edited by

          @jandraka

          Perfect! Thanks for the example!

          Best Wishes, 

          Russell

          http://bonemap.com | Australia
          Izzy STD 4.2 | USB 3.6 | + Beta
          MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
          Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
          A range of deployable older Macs

          1 Reply Last reply Reply Quote 0
          • Woland
            Woland Tech Staff @bonemap last edited by Woland

            @bonemap @jandraka 

            Performing a little bit of thread necromancy since I ran across this and wanted anyone who ran across it in the future to know that, as of Isadora 4, the Button Control has Control Properties for the color of the button in its on and off states:

            The method of using a picture is still totally viable, and can be nicer if you want to include a fancier-looking button designed in Photoshop. Also, it's worth noting that you can use images that have alpha and the alpha will be transparent on the button in the Control Panel and you can make some pretty neat buttons that way.

            TroikaTronix Technical Support
            New Support Ticket: https://support.troikatronix.com/support/tickets/new
            Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
            Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
            Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

            | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

            1 Reply Last reply Reply Quote 2
            • First post
              Last post