Label Multiline..
-
Well this is a very dumb question.. I have a windows form and a label.. Now during the execution of the program, the text that goes into the label is of more length than the form allows, so it hangs.. How to make a label multiline, so that it shows up in the next line in the form??
-
Well this is a very dumb question.. I have a windows form and a label.. Now during the execution of the program, the text that goes into the label is of more length than the form allows, so it hangs.. How to make a label multiline, so that it shows up in the next line in the form??
set AutoSize to true or use '\r\n' for new line
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can
-
Well this is a very dumb question.. I have a windows form and a label.. Now during the execution of the program, the text that goes into the label is of more length than the form allows, so it hangs.. How to make a label multiline, so that it shows up in the next line in the form??
Hello, You need to make sure that you’ve got new line characters in the string as shown below: this.label1.Text = "Multi-line" + Environment.NewLine + "label"; Regards, Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com
-
Well this is a very dumb question.. I have a windows form and a label.. Now during the execution of the program, the text that goes into the label is of more length than the form allows, so it hangs.. How to make a label multiline, so that it shows up in the next line in the form??
Just make the property of textbox as follows. TextMode="MultiLine" Naina :)