Show messages: All
1-3
4-7
From: passant
Hey! This may be the false thread and a noob question, but I'm having a really hard time finding out how to achieve a string Input into an UI-Panel inside of MoI.
What is the pendant for "numericinput" when I want to get a string?
I'd really appreciate any help. I am trying to build the script you ave already with automatic STEP to OBJ from a path.
Works fine without UI, but unfortunately not with one at the moment...
Huge thanks already!
Pascal
PS:
I know the numeric part in a .htm as of using:
...
<input id="filePath" class="numericinput" default="Path" style="persist:true;"> |
...
From: Michael Gibson
Hi passant, which version of MoI are you using?
For a numeric input, using <input class="numericinput" is what was used by v2 and earlier. It's still supported but the newer way is to use a <moi:NumericInput/>
There is also a control for a string input. The old way is <input class="textinput"> the v3+ way is <moi:TextInput/>
- Michael
From: passant
Hey Michael,
I am in fact using v4, I just found a few scripts online and learned from them,
but used the old way apparently, thanks for clearing that up!
I'll use the TextInput, and will come back here for further questions, if it's okay!
Thank you :)
- Pascal
From: Michael Gibson
Hi Pascal, you're welcome!
> I'll use the TextInput, and will come back here for further questions, if it's okay!
Certainly!
- Michael
Show messages: All
1-3
4-7