New line in label.caption

  • Thread starter Thread starter Energy_Abs0rber`
  • Start date Start date
E

Energy_Abs0rber`

Hi all, I know that it is a .net board & I use vb6, but...

Can anyone help me?

I need to have several lines in a caption of a label (like \n in
php).
Is there any analog in vb6?

Thanks
 
Hi Energy

Hi this is a .dotnet answer but you can try

label1.text = "mytext" & vbcrlf & "mynexttext"

I hope this helps?

Cor
 
* (e-mail address removed)-spam.invalid (Energy_Abs0rber`) scripsit:
Hi all, I know that it is a .net board & I use vb6, but...

Can anyone help me?

I need to have several lines in a caption of a label (like \n in
php).
Is there any analog in vb6?

\\\
Label1.Caption = _
"Hello" & vbNewLine & _
"World"
///

Please turn to one of the microsoft.public.vb.* groups for VB6 related
questions.
 
Back
Top