how to hide text in edittext or dotnet TextBox with dots ?
i create a script and add a key to lock it , everything ok , but i want to hide key with dots ,i think " dotNetObject:System.Windows.Forms.TextBox " can do it , can you help me , thank you very much
Attachment | Size |
---|---|
capture.jpg | 21.14 KB |
Comments
:D
i can do it , thank you very much
`
Hi,
It's easy with dotnet TextBox:
sample:
I don't think maxscript editText has this option. You can try to do it with extra variable to store key/password and function to replace characters with "*". But still there will be a problem to read position of cursor in editText. So I think the easiest option will be to just use dotNetcontrol "MaxCustomControls.MaxTextBox"
Best,
Pixamoon