Notifications
Clear all
[Closed] dotnetobject "TextBox" in rollout doesnt work
Apr 03, 2013 1:59 pm
Hello all,
I am trying to make very basic asset browser for my needs.
I am adding splitcontainer with treeview and customcontrol as dotnetobject to containercontrol which is a dotnetcontrol in the rollout.
everything works perfectly fine with mouse, but keypress dont seem to work, whenever a key is press it work for max example when i try to press w key move tool is selected.
here is a sample code with textbox in max rollout
try(destroydialog testro)catch()
rollout testro "" width:200 height:30
(
dotnetcontrol cont "System.Windows.Forms.ContainerControl" width:200 height:30
on testro open do
(
local obj = dotnetobject "System.Windows.Forms.TextBox" cont.Controls.Add obj
)
)
createdialog testro
can anyone help me with this.
Thanks
1 Reply
Apr 03, 2013 1:59 pm
Solved it
enableAccelerators = false
Sorry my bad, didn’t search hard :buttrock:
Thanks