2014년 12월 11일 목요일

Text Block

Is it possible to change the text block for putting on it several lines ef text? I want to put a text on a screen for displaying it. Thanks



If you really mean the TextBox, then to get several lines of text, from the Designer screen, go to the Properties bin (on the far right) and look down the column to Multiline,  check that box.  OR  you can use the block   set TextBox1.Multiline to   true  in the Screen1.Initialize event handler or use a button to toggle the multiline property as needed.

If you are using a Label,    set Label1.Text to     This is the first line. \n\n This is the second line.         will display two 'lines' of text separated by a space.  the /n is a control character that will not appear when the text is displayed in the label.  The control character forces the text to a separate line.



Thanks I will try


댓글 없음:

댓글 쓰기