Text (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
added onlyinclude
>Camoy
updated a bit
Line 1: Line 1:
{{CatUp|Properties}}
<onlyinclude>{{Property
 
|name = Text
Text is a [[string]] of characters.  It is a combination of letters, numbers, and punctuation.
 
<onlyinclude>{{Property|
name = Text
|property = [[String]] ''message text''
|property = [[String]] ''message text''
|description = Sets the text that the message displays.
|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]]
|object = [[Hint]], [[Message]], [[TextButton]], [[TextLabel]], [[TextBox]]
|}}</onlyinclude>
|}}</onlyinclude>
{{clear floats}}
{{Example|<pre>
Instance.new('Hint', game.Workspace).Text = 'Hello world.'
</pre>}}


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

Revision as of 03:13, 22 January 2011

Text
Property String message text
Description Sets the text that the message displays.
Member of [[RBX.lua.Hint, Message, TextButton, TextLabel, TextBox (Object)|Hint, Message, TextButton, TextLabel, TextBox]]


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