maybe you can use this
ListBoxClass as a temporary replacement: ListBoxClass.py (4.4 KB)
I´ve tried to mimic
Rhino.ListBox() as close as possible, you can use the same required and optional arguments. Note that getting the return value is slightly different. An example script to use this class is at the end of the script file.
ListBoxClass saves dialog positions and sizes for every
ListBox instance with a different title inside
scriptcontext.sticky. So if you delete the sticky by resetting the script engine, or reopening Rhino this information is gone.
To make this less frustrating, you can set the default screen position (xy pixel coordinates) at line 96:
self.Location = System.Drawing.Point(100,200)
To avoid cluttering your code, you might just import the class at the beginning of your script. If the class is in the same folder with your script, use this line to import it:
from ListBoxClass import ListBox
Always make sure to
import scriptcontext as well, before using this class !