Labels

roarnold

Active Member
Licensed User
Longtime User
Evening,

If I am doing labels programmatically like:

Label3.Initialize("")
Label3.Text = "OB Reporter Application"
Label3.TextColor = Colors.DarkGray
Label3.TextSize = 14
Activity.AddView(Label3, 70dip, 0dip, 300dip, 40dip) ' this is label3 header

Can I add a CRLF to the second line where "Home" will show up under "OB Reporter Application" or do I need another label to accomplish that?

Thanks,
R
 

mangojack

Expert
Licensed User
Longtime User
Why not try ?
B4X:
Label3.Text = "OB Reporter Application" & CRLF & "Home"
Cheers mj
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…