Quote:
Originally Posted by The_Kez
From the graal wiki:
"onAction() - is invoked when a button control is pressed, you press the enter-key in a text edit control, or move a slider control"
I think it would look a little strange to have an instant messaging window that when you sent a message it just put it as text on the window itself instead of displaying it in a text box. Not sure o:
|
You need to use GuiTextEditCtrl; GuiMLTextEditCtrl is a multiline text box; therefor, when you press enter, it creates a new line. GuiTextEditCtrl is a single-line text box.