TextBox - dotNet

Hello,

I tried to use a TextBox in a maxscript. Unfortunately it's always writing out error messages.
The code what i tried is the next: (it's on LoneRobot's site: http://lonerobot.net/?p=568 )

rollout tbtest “MXS Dotnet texbox” width:227 height:23
(
	dotnetcontrol textboxctrl “TextBox” pos:[1,1] width:225 height:16
 
	on textboxctrl gotfocus sender arg do enableacellerators = false
	on textboxctrl lostfocus sender arg do enableacellerators = true
)
createdialog tbtest

I tried it in a lot of other forms, used other syntax, or "preload" the used .dll (dotNet.LoadAssembly() etc ), but it's still not works.

Thanks your ideas in advance,
Matyrix

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Matyrix's picture

pf... i can't believe it...

pf... i can't believe it... "" are with bad ASCII, great... :)
thanks for the correction...

Graph's picture

hows this? (   rollout

hows this?

(
 
	rollout tbtest "MXS Dotnet texbox" width:227 height:23
	(
		dotnetcontrol textboxctrl "TextBox" pos:[1,1] width:225 height:16
 
		on textboxctrl gotfocus sender arg do enableacellerators = false
		on textboxctrl lostfocus sender arg do enableacellerators = true
	)
	createdialog tbtest	
 
)

Raphael 'Insanto' Steves
http://Graph.Net84.Net

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.