1st one:
Thanks Scorp! I knew it was easy... :
2nd one:
Basically whenever the player presses enter it would be just like the left mouse button has been pressed.
Now that I think of it, it may need to be a little more complex than that...perhaps everytime enter is pressed the cursor would have to be repositioned to the selected text box item, and then the LEFT mouse click simulated...?? That would make more sense...
eh,
-junc
EDIT: Nevermind, I figured out a better way to do it, I just check the selected box everytime enter is pressed :
.
Just out of curiosity though, can you simulate mouse clicks via scripting? I know you can detect them via on_mouse_click...
Thanks Scorp! I knew it was easy... :

2nd one:
Basically whenever the player presses enter it would be just like the left mouse button has been pressed.
Now that I think of it, it may need to be a little more complex than that...perhaps everytime enter is pressed the cursor would have to be repositioned to the selected text box item, and then the LEFT mouse click simulated...?? That would make more sense...
eh,
-junc
EDIT: Nevermind, I figured out a better way to do it, I just check the selected box everytime enter is pressed :

Just out of curiosity though, can you simulate mouse clicks via scripting? I know you can detect them via on_mouse_click...