Will,
I got a tip from Dale that allowed me to select items on screen using a modal form. Didn’t solve the crashing problem with modeless form but for my purposes it will work for me.
Also:
################################################################################
# SampleEtoPushPickButtonDialog.py
# Copyright (c) 2018 Robert McNeel & Associates.
# See License.md in the root of this repository for details.
################################################################################
# Imports
import Rhino.UI
import Eto.Drawing as drawing
import Eto.Forms as forms
class SampleEtoPushPickButtonDialog(forms.Dialog):
def __init__(self):
self.Title = "Sample Eto PushPickButton Dialog"
self.ClientSize = drawing.Size(200, 200)
self.Padding = drawing.Padding(5)
self.Resizable = False
button = forms.Button()
button.Text = "Click Me!"
This file has been truncated. show original
Eric