Mchalmers37027@legacy41557049 (talk | contribs) |
Mchalmers37027@legacy41557049 (talk | contribs) |
||
Line 24: | Line 24: | ||
==MultiLineEditBox== |
==MultiLineEditBox== |
||
When using a MultiLineEditBox, there is a sub-control called Edit the actually contains the text. |
When using a MultiLineEditBox, there is a sub-control called Edit the actually contains the text. |
||
− | For example, if the form name is "TestFourForm" and the MultilineEditBox control name is $parentMultiEditBox then you |
+ | For example, if the form name is "TestFourForm" and the MultilineEditBox control name is $parentMultiEditBox then you would use '''TestFourFormMultiEditBoxEdit''' to put text into the control. |
+ | |||
+ | <!-- begin code --> |
||
+ | TestFourFormMultiEditBoxEdit:SetText("This is a test."); |
||
+ | <!-- end code --> |
||
==Also See== |
==Also See== |
Revision as of 04:55, 21 May 2007
The API is no longer being updated here until further notice. |
editBox:SetText(String)
Sets the editBox's text to the specified string.
Parameters
Arguments
- ("String")
- String
- the string you want to appear in the EditBox
Returns
???
Details
You should call a SetText("") every time you read from an EditBox, so the command line is free for the next input.
MultiLineEditBox
When using a MultiLineEditBox, there is a sub-control called Edit the actually contains the text. For example, if the form name is "TestFourForm" and the MultilineEditBox control name is $parentMultiEditBox then you would use TestFourFormMultiEditBoxEdit to put text into the control.
TestFourFormMultiEditBoxEdit:SetText("This is a test.");