Text (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
No edit summary
>Mattchewy
Fixing multiple objects
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
<onlyinclude>{{Property
|name = Text
|property = [[String]] ''message text''
|description = Sets the text that the message displays.
|objects = [[Hint]], [[Message]], [[TextBox]], [[TextButton]], [[TextLabel]]
|}}</onlyinclude>


Text is a [[string]] of characters.  It is a combination of letters, numbers, and punctuation.
{{clear floats}}


 
{{Example|<pre>
{{Property|
Instance.new('Hint', game.Workspace).Text = 'Hello world.'
name = Text
</pre>}}
|property = [[String]] ''message text''
|description = Sets the text that the message displays.
|object = [[Hint]], [[RBX.lua.Message (Object)|Message]], [[RBX.lua.TextButton (Object)|TextButton]], [[RBX.lua.TextLabel (Object)|TextLabel]], [[RBX.lua.TextBox (Object)|TextBox]]
|}}


[[Category:Properties]]
[[Category:Properties]]

Latest revision as of 02:37, 23 January 2011

Text
Property String message text
Description Sets the text that the message displays.
Member of Hint, Message, TextBox, TextButton, TextLabel


Example
Instance.new('Hint', game.Workspace).Text = 'Hello world.'