Label.SetText

Label.SetText ( 

string ObjectName,

string Text )

Example 1

Label.SetText("Label4", "Hello " .. user_name);

Sets the text in the "Label4" label object to "Hello " followed by the contents of the user_name variable.

Note: The concatenation operator (..) is used to add the contents of the user_name variable to the end of the "Hello " string.

Example 2

Label.SetText("Copyright Notice", "(c) 2003 IndigoRose Software");

Sets the text in the label object named "Copyright Notice" to "(c) 2003 IndigoRose Software".

See also:  Related Actions