Little help please: Make viewport scroll with keypress
-
@d-healey I was sure you came to this too :)
-
@d-healey A bit better but it's not ideal
HiseSnippet 2001.3ocsXstaabbEdWYuFgLwoIE4AXJQ9wxHRpckrjbrrikDkTrPjrIDUUZfff6ncGRNvKmgc2gTV0PEEnuF4G4gn+u8EnuK8Mn8blYuQJJYUgF9Ctyky0u4bNykNwx.VRhL1xtxwWNhYY+YNcuTnFzd.kKr1eGK6O24PZhhESLCs8kinIIrPKa6G783.1Udnk92+9kaSinh.VwPVVmH4ArC3C4phQ6r4Ovih1iFxNlOrD0OYy8Cjh1xH4Xvddfim0HZv6n8Yulhjsfik8i1MjqjwcUTEKwx9gaKCur6.4EBC8mvS3mGwvN9VcAAYFdOYTHZw3nVsGviB6j42IVfT5TfBOvfBekyg7Pd93EnwWnmfTvQY7vdgoMuGLk44W177JYdywjrKYROzXReoS2fX9HUwLn87oN6KfEmdT.1KaJFZsV34elSaIPgP0ZH8cr8hgN4b3tlmWCB7W8MpVEf9DE4n27iu8U6t+2+piIufrxS2nzvc6rU6cgQWOm3HN72KHmVaeEaHwuVCho0x4sVIu0SxasZdq0xasddqml25aya46UzrPK9EpwuPO9EJxe0ZmkaqSnwjS3rKFIiU9fQmgJ8Yp1xgijBniasbJpUei4v3xeTFWtV8oTY5ZFUvhtYsVlHj+x8aERUzVbveR.9QDel4SXfDFv38Gn.OGInUDSzWMf7MD2RKmKVrHVmzrTGvdgeyJyNPDu5H4XEWvb6MVDn3Rga+5U+P0JniQAqQMfmftxAx.Zz1xwhvDWLVRSPLMjONoDUt0NWFGxhOROA5mUpVomLl3xAp71fvIO2PbgKm5JvbKtX8pU.cmq7SgPW9s3iMxU7OxCUCbgAJnDhKp.ZuBuGwMirSnQiYt0Iu3EDNnqJU5i3fobjagSf1kYvZ0QenBKJgMK4lOIstfqFrUznAzRB379Yr2nj6NPNApwh5l7RheKOxyHdsVynAzR62pGTz7HDjYgGwBTTQ+HlKsQJPW+N3Qe3t3UKm5V2jFOkdp2YMHzS8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1aY+I2YO38EJ9617xhN6r4E34WyG3eFuo4z94i7GGrooJ31z3iG.0YD.nVHfudyoxPwI9a+hnyvM9W+Czsl0TerSo5jZq7yKOxTFpk0kk6LsgRJYnO5mWvPxHZLnrRZsLD.arJuHa6UvC9MNaEEQJFvpDeUuyqp2.v9W+SY.qicCaKqLa0w9uCyd6.pdKVK6+hi4dlOtp4ZuoeWI86SR+tZ520R+td52ml98aS+56k0HSh9YhzOSl9YB0eUK3rHG.kqg.wEn3wVGpAlG4fmE0x55ufvW3bnLbbDUM8CZfuhS5DP7wTuh.9RABHt4xxuxy+2dki6pI9kNc3pfAy2FWXN1HVC4WAaL8sgdryt85AWGpv.enyd+gecdHHKyMv6CmVLlCAxNud7vtv8fBXf1EP5HVT1FysR66g8QDnKSDp67efeoS5i8sSmzOaRqgTHX+sAl5k3qO8I5Q.aRne3sJNGh8I4UYcb7Z4YMjGxeaP.59MgJ5ymmkuG7rx8fmmbO3Y06AOqcO3Y86AOO8V4AeCxsFqjCMoCv.c1UuQks8tBJDYoiBs9uPuhOje
I have another idea in mind
It would be a bit like this solution but indexing the Y position only betweenvisibleItemsInt
andlist.length-visibleItemsInt
instead of moving it continuously...
It's not easy to explain but I'll try tomorrow if I have the time -
@ustk Thank you for the help!
-
@d-healey I'd like to have a look at the C++ behind a viewport list as it might be useful
EDIT: some interesting stuff in
juce_Viewport.cpp
-
@d-healey cheers!
-
@d-healey I had to try this once more
HiseSnippet 1810.3ocsXstbaabEFP1vIjItMtS+Q+4FNIy.ZQQSHYI4XEGqq1VS7ENhp1siFMtq.VRri.2EAXIkY7nN8AIOL8onOG4MH8rW.vRJJaE0Z9Ch8x4x24aOmE6htY7PRdNOyws1gSRINteoWuILQ7NwXJyY+ccb+Kd4gY7jDJa.JEyHIHLKBMN0Y6Io37bRjiq6MdpTZ2Z2zQ86We713DLKjTMjiyq4zPxyoCohpQ6t4ORSRdBNhbHcnkz2ey8C4rc3I7Q.xtgWGmTb3o3AjWhkhsfmi6s1KhJ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viewport but better than the previous solution Ustk and I had.
-
@d-healey nah, you're right, this one is more like the Hise VP
and scrolling doesn't execute the panels callback until you press "return"HiseSnippet 2195.3ocsXszbiabDFPRXiAc13014PpJWlvJoJvURTDRqjVKEEQIsRdU4U6xRTl1oToZKPfgjiEH.JfgRKyVZ+Aja4dNja4RNja4Z9GjSop7aHmx0bINcOyfG7kVYU17.w7ne708zcOOZDG5RSRBi0zMOaXDUS+GazbX.u2A8bXAZG+LM8GZzvIf5eBMXPqFZ6OLxIIg5ooqO+mijnatfl32+Y28c7cBbo4Coo0Jj4ReAqOimOZi5eAy2+HGO5Yr9En9I0O1ML3fP+vA.bl2nlVji6kNcouzAIaNCM8GbnGiGF2j6voIZ5Kren2vl8BuNPReKVBqsOE6Xq0DDjb3iB88PDiipcPOluWiTyNQCjRibmv7RmvO03DlGKa7bmwiDSPx4nn+PetQg27i.O6hvqVA3MEHoW.RKHgzGazzMlEwymAwyGZbb.mF2wAb6EghjVs4t9mXbPHPQ.uZemKoGECcx3vZiZ0Vh.+UY6Rk.WeBmb5q9pW+7CO9ye9YjcHq8zsKLbyF6cvgvnalQrOC9aGx4kOlS6SrKuDQ1Z0rVqk05IYsVOq0FYs1Lq0SyZ8YYsrqk2LWK14pwNWO14Jxd8xWjg0qbhIsZ.nM0czkxOHreTX.zwpbqFkqrcAREg7yjZwrHCkDsp54vcpx.cl.rfdksUSjPAp6QYc6wAXgyT0mFzk2i7XhUAe8h4d3JjkKzISEfjZ.Ag7SCGvYATqNCBb4rv.qtUJ81RlqrBhZGP87drDDtuHz0we+vAAdIV3BrYISjjXGO1fjBzYUtcXrGM9TwDkkT1ILlXw.ppsMgQ90RhysRkQ.ys3hUJYB52LU8mCQTraw5VJSweEyi2yBFHmRX4xDztIqCwJkrVN9CnVUH6rCgA5xzrK5KjUIrxMBDWxAKWAsASpeBcbxkeRpdMi2aO+ndNEDP6toruTAysW3UzXgtI6RrqVirEoV0MjZ.QZ2pcfZYmhtYp2oTWtSPWepkyRJGck6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FvJXyo9L4Y8ccaOyZFpzmI8eBVuUWHLYRnOsZTLtbktLOabqtZwzgdQ0IPeAn7xPN8Un+FTZoaJQFepNcl5bJo4it5oLsZQX1LZELneaZbQSFIDt15n2E1X12Et3U0ckNkBDFFbb.i+pHZvrt.ulxSB2addEpfVbwsl+D0slodsfHunvXtFCtf7BFsZnIPr54Gp+r+2+ZWsw49go24F86BF+QxGCYDdgeOpt1cTye5DCaOtv9Y009xieFThAeH.ksA1aDMlyPWo9ynWwboxmEvz3YzjKgzEM84xBizz+f2u4+lbM5UeXdmWV+Z7lYYC72iqKuAa1HD+5xpK66DeVOntV.rTjKfeY8QxxwI9m+0eeMzCi1SFF+v2mS9MEeIogE6LJBIEP3C9iyIIIB1wNfWPcBiFxkBuNMiBv7GYrGbDy7AxuvEJqu8Oq82PYkd2Pbr28t28k3XINWQON.uAAEDt9bZSZYeGBAlwhwehWe1lpZ4occX6wWvRDnPrwkl9Wa.IcbhcIwmUkeVS94IxOqK+rg7ylxOOU94yjerqo9pji8pZcfvQ7xj4vsVcG7xY8EF9CLvaboMw5++8u7yewe3e7u2Uax205QFmD5Mv2gO5yrgusnZBPHi71V36WE.BeXw2d76s2d6tBwO1nAdotoiw4lBFgr4eHvn5EKenwgc5.aHmCvELN5q+g44I0jOBUW3zTwLHx03kC52DRObof1CfLWrduNlGp5WC6idflz.OQmuE9olzF6qqlzNcRs9NPIlW6JqphuI5GHFAvTf34fMMNA6SxJeZXTqZMs9LO1qccQyeYXyhoyyp2CdV6dvyStG7r98fmMtG7r48fmmdq7fuL9dC3g8koCv.MNTrMlt9gANPjkHJT6+Cb8kmSJ
-
@ulrik Excellent! Looks like you've done it, thanks!
-
@ulrik I made a few little tweaks and brought it into my main project. Works really well. Thanks again.
-
@d-healey Looks great, I'm glad that I for once could give something back :)
-
@ustk said in Little help please: Make viewport scroll with keypress:
@d-healey the first and most simplistic way is this:
HiseSnippet 1741.3ocsXstTabCEdWfMM1sIsoSe.T8zerNXb7x8DBgKFRh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.2VMBfIl5eKRAq8k8QoEUsrpUslQOpG8MttxveNn.930Y9afNKbCzYwafNKcCzY4afNqbCzY0OpNx+CQaMPv6o2N.CzbW04Rll6xvPlkJKz3e.sU1ehB
Now the slowly shifting position isn't particularly nice visually speaking
It would be better if it can stick to the bottom when going down and oppositely when going up...I appreciate you sharing this snippet. I am trying to get this to work so that when the plugin is opened the key commands are in effect. Currently it is necessary to click on one of the lists on the plugin to engage the key commands. I tried adding
ScriptPanel1.grabFocus();
to the end of the script, but I still need to click to engage the key commands. Is there a way to have key commands work when the plugin is initiated?
-
@TNTHM This is probably down to the host to give focus to the plugin window
-