Txt style

From Sim Innovations Wiki
Jump to navigation Jump to search



txt_style is used to change the style of a text box.

Return value

This function won't return any value.


# Argument Type Description
1 txt_id Number Text identifier. This number can be obtained by calling txt_add.
2 style String The new style to apply. See txt_add for styling options.


-- Load and display text and images
mytext1 = txt_add("1013", "size: 40;", 420, 252, 60, 40)

-- Make it even bigger!
txt_style(mytext1 , "size: 60;")