Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables in text files 1

Status
Not open for further replies.
Dec 24, 2001
857
GB
I've got a movie where it loads a variable from a text file. Its just some info which could be changed regularly so I figured putting it in a text file would be the easiest way to update it.
The problem I have is that I don't know how to put the effect of pressing 'Enter' into it, i.e. typing:

This text is just an example of the problem I am having.
See below for how the text is currently coming out


would be displayed as:

This text is just an example of the problem I am having. See above for how I want the text to be coming out

How would I do this? Do you put some special character at every point you want it to look like enter has been pressed?

Any help is appreciated...

Rgds
 
The easiest way would be to make your text box html enabled (there is a flag on the properties to do this) and then just use html tags to format your text; so to get 'enter' you could use '<br>'.

=)

PetitPal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top