sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    How to view all values from a defined list

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    2 Posts 2 Posters 129 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.
    • S Offline
      sheikvenus
      last edited by

      Hi All,

      How to view all values of size (mentioned below) because the list box ends with value 48 due to size limit. Is there any way to set scroll bar to select a required value.

      prompts = ["Pipe Fittings", "Size", "Unit", "Standard", "MOC"]
      values = ["Reducer","","inch","BS","GRP"]
      size = [ "1| 2| 3| 4| 5| 6| 7| 8| 9| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 20| 21| 22| 23| 24| 25| 26| 27| 28| 29| 30| 31| 32| 33| 34| 35| 36| 37| 38| 39| 40| 41| 42| 43| 44| 45| 46| 47| 48| 49| 50| 51| 52| 53| 54| 55| 56| 57| 58| 59| 60"]
      list = ["Reducer",size,"BS","GRP"]
      results = inputbox(prompts,values, list, "Reducer")
      @pipefit,@size,@unit,@std,@moc = results
      
      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        It doesn't 'stop' at 48.
        That is as many entires as it can display at that screen resolution.
        To access something further down the list, with the focus on the list, type in a start value - say 5 and it'll jump down to say 50, now use the up/down arrow keys to scroll through the list...
        This is a common issue with the 'inputbox'.

        The only way to get a scrollable list is to use a webdialog of your own devising...

        TIG

        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