easyfrog
07-06-2011, 07:48 AM
Hello :
I have a DotNetControl Panel ,and Creat some Buttons on it . so have can i Enumerate it ??
I know the C# code like this:
foreach(Control c in Panel.Controls){...}
But I use the maxscript code :
for c in panel.controls do (...)
get a Error :
>> MAXScript Rollout Handler Exception: -- No "map" function for dotNetObject:System.Windows.Forms.Control+ControlCollection << :banghead:
I have a DotNetControl Panel ,and Creat some Buttons on it . so have can i Enumerate it ??
I know the C# code like this:
foreach(Control c in Panel.Controls){...}
But I use the maxscript code :
for c in panel.controls do (...)
get a Error :
>> MAXScript Rollout Handler Exception: -- No "map" function for dotNetObject:System.Windows.Forms.Control+ControlCollection << :banghead:
