PBDR.COM

About   -   Contact   -   Purchase   -   Search   -   What's New

 
 
New Lines in a Multiline Edit
Multiline edits are very useful controls, I quite often use then to display a trace output of text from debugging a function or code timings so I can compare multiple tests. if you want to add a new line to a multiline edit you need to use two special characters ~r~n. This adds a carriage return to the end of the line of text. You can also insert a blank line by combining two sets together, as shown in the example below:
mle_1.text = "First Line~r~nSecond Line~r~n~r~nFourth Line"

 

Top of Page

Legal Notice

Ken Howe 2011