View Full Version : Is there anything like dropDownList in .NET?
Jausn 06-11-2009, 01:40 AM Hello!
I'm just wondering if there's anything like dropDownList in DotNet?
And what about this one?
dotNetObject:System.Windows.Forms.ToolStripDropDownMenu
Is it similar to dropDownList?
Thank you!
|
|
ZeBoxx2
06-11-2009, 04:30 AM
yes, use 'System.Windows.Forms.Combobox';
rollout roll_test "test" width:400 height:200 (
dotNetControl dno_ddl_test "System.Windows.Forms.Combobox" width:350 height:150
on roll_test open do (
dno_ddl_test.Items.AddRange #("Hello","World","of","MaxSript")
)
)
The .dropDownStyle property on that control determines whether it displays as a dropdownlist (DropDown*), or a combobox (Simple).
Jausn
06-11-2009, 08:29 AM
Thank you!
legie
06-11-2009, 09:59 AM
Be aware though to use the combobox, as Richard described it above, within a max rollout! Using the combobox within a dotNetObject "MaxCustomControls.MaxForm" will lead to garbage collections errors.
CGTalk Moderation
06-11-2009, 09:59 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.