API:TextEditBoxGetText
From RoR Wiki
UI Lua API · TextEditBox functions
Version: WAR 1.4.8
Returns the text in a TextEditBox.
text = TextEditBoxGetText(editBoxName)
Arguments
- editBoxName
string– Name of a TextEditBox window.
Returns
- text
wstring– The current text.L""if the box is empty.
Errors
Error in function call 'TextEditBoxGetText': Window %s does not existError in function call 'TextEditBoxGetText': Window %s is not a TextEditBox
Example
From easystem_dialogmanager/source/dialogmanager.lua:
DialogManager.textEntryDlgs[ dlgIndex ].SubmitCallback( TextEditBoxGetText( "TextEntryDlg"..dlgIndex.."TextEntry" ) )
