Grasshopper

algorithmic modeling for Rhino

Hi,

I created a component with a drop down menu but the problem is that every time I use it blocks  grasshopper interface  and I can select nothing !

can someone help me !

thank you 

Views: 489

Replies to This Discussion

Note ! in the drop-down menu there is a text box!

Attachments:

That image does not show a drop-down menu. A dropdown menu is on screen only briefly to allow the user to select one of the items on the menu. Once an item has been selected it goes away again.

You cannot put WinForms controls on the canvas for prolonged periods of time. You can create a System.Windows.Forms.TextBox when the user clicks the mouse somewhere special and then you have to remove the textbox again once the user is done entering a value.

But without seeing code or a compiled component there's not much I can say about this.

--

David Rutten

david@mcneel.com

Tirol, Austria

Hi David,

I tried to fix the problem but I can't solve it :/. Can you help me ?

thank you!

Attachments:

I can't find the solution I'll wait !!

The code you posted cannot be compiled. It requires source for something called GH_ExtendableComponent and GH_ExtendableComponentAttributes and MenuDropDown.

--

David Rutten

david@mcneel.com

Tirol, Austria

I want to send you all the project but I think it exceeds the size to join :/

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service