sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Changing default values?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 689 Views 2 Watching
    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.
    • PixeroP Offline
      Pixero
      last edited by

      Is there a way to have one parameter changing the default values in other parameters?
      Let's say I have a dropdown menu with two options and if I choose the first option the default values of some input field would be 1 and if I choose the second it would be 2.
      It's probably trivial but my brain is slow today.... 😳

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        With web based dialogs it's probably 'yes': BUT the basic SUp-ruby dialog has its values fixed as it opens: only the user input changes input-fields/drop-down selections: you need to OK/Cancel to get it to change values - at that point it could change them and reopen itself with the new values displayed ?

        Can you give a more concrete example ?

        TIG

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          Okay, thanks for your reply.
          I was actually thinking of writing a web dialog for this script at a later stage.
          Just thought I'd test some functionality first without it.
          I guess I'll have to dive into the sea of web dialogs then... πŸ˜•

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement