Dotnetcontrol .focus isn't working.
Not sure why this isn't working. Maxscript help says there is a .focus property that you can set but when I try and set to it I get and error that the property doesn't exist. :/
All I want is for the textbox to lose focus when you hit enter.
Any help would be greatly appreciated.
global Bigley_Dialog rollout rloutRTTSet "Rollout" ( label spacer "" pos:[0,20] dotNetControl textb "TextBox" pos:[10,8] width:172 height:10 on rloutRTTSet open do ( textb.text = "Some text..." ) on textb KeyUp e do ( -- File Path Box if e.KeyCode == e.KeyCode.Enter do ( textb.focus = false ) ) ) Bigley_Dialog = newrolloutfloater "Dialog" 232 100 addrollout rloutRTTSet Bigley_Dialog