Grasshopper

algorithmic modeling for Rhino

Is there a way to keep a windows form on top of GH and Rhino?

Like the title says, my windows form, that I show with a custom component, disappears behind GH canvas and even behind Rhino windows, when I click on the GH canvas. Is there a way to avoid this?

Views: 428

Replies to This Discussion

TopMost is a sledge hammer solution. You want to display your window as a child window of Grasshopper. That means when you call forma.Show(), you should supply Grasshopper main window:

myForm.Show(Grasshopper.Instances.DocumentEditor)

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service