Hello,
Iam a new os scripts, I start now with python, I need a function that I can not find anywhere (I do not know if it exists).
I need to create a “listbox” with autocomplete function, when I start typing automatically search within the list.
Any tip?
@MatrixRatrix , are you on mac or windows ?
_
c.
Trav
(Travis Serio)
January 12, 2018, 7:28pm
5
The ETO ComboBox control supports an AutoComplete property if you’re able to use that as a substitution for a ListBox.
I am on windons.
Sorry , I am new on this, I already read some thing about Eto, but I read that is only for rhino6, this is possible with rhino5?
@MatrixRatrix ,
you might try below ComboBox as a starting point.
ComboBoxAutoComplete.py (5.7 KB)
_
c.
2 Likes
Thank you clement, tomorow I test.
And ETO ? there is some way to install on rhino5?
clement
January 12, 2018, 11:32pm
9
@MatrixRatrix ,
Unfortunately Eto does not work with Rhino 5. But you can try below script in Rhino 6:
ETO_ComboBoxAutoComplete.py (4.1 KB)
_
c.
Thank you.
I can not test today, but tomorrow I test.
I know it will get out of the topic, but I’ll take advantage to ask another question.
I need to access a MySql database, does it have some lib for the rhino? like PyMysql or MySqldb?
clement
January 12, 2018, 11:49pm
11
@MatrixRatrix , please create a new topic, preferably with a (small) example file.
_
c.
ComboBox autocomplete solve, tank you.