sketchucation logo sketchucation
    • Login
    1. Home
    2. Anton_S
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    A
    Offline
    • Profile
    • Following 0
    • Followers 7
    • Topics 52
    • Posts 1,261
    • Groups 2

    Posts

    Recent Best Controversial
    • Changing Toolbar Image

      Lets say I've created a new command:

      @toolbar=UI;;Toolbar.new("simulation")
      @playcmd=UI;;Command.new("play"){simulation.new}
      @playcmd.small_icon=@playcmd.large_icon="buttons/run.bmp"
      @playcmd.tooltip="Start simulation"
      @playcmd.status_bar_text="Start simulation"
      @playcmd.menu_text="Start!"
      @toolbar.add_item(@playcmd)
      @toolbar.show()
      

      Is there a way to change the icon of @playcmd any time I want? >
      When I click @playcmd button I wan't its icon to change to different icon. Like at first click the icon changes to pause.bmp, and at second click I want icon to change back to run.bmp.

      posted in SketchUp Feature Requests sketchup
      A
      Anton_S
    • 1
    • 2
    • 60
    • 61
    • 62
    • 63
    • 64
    • 64 / 64