I have an Eto form with a search bar that searches through a Eto.Forms.ListBox()
But the list box only lets me select 1 item at a time, so I’m trying to use the GridView() for multiple selection but I can’t work out how to make the search function work with the GridView.
In the attached script, I’m displaying all document layers by a GridView so it lets me make multiple selections. But the search bar throws an error when I type and I don’t know why.
My end goal is to be able to toggle layer visibilities in detail viewports for the selected layers. The HideLayersInDetail only works for one detail view and doesn’t have quick search so it’s a bit slow if I need to turn off multiple layers in multiple details across multiple layouts…
To copy the selected items, you can try forms.Label to display a label box and then copy the data. I have one that helps me batch rename rhino layouts, i just copy the list of selected layout names to excel, edit them, then paste the new names back in.