VB .NET 2003 Buttons


M

Mike

Can you put 2 lines of text on a button on a Windows form?

The text isn't wrapping to the next line and I don't see a way to get it to.

It's in a Pocket PC project - don't know if that has anything to do with it.

Mike W.
 
Ad

Advertisements

S

scorpion53061

My inital reaction is

Button1.Text = "Green Bay" & vbCrLf & "Beats Eagles"

This will be 2 lines of text on the button.
 
D

David Schwartz

Are you sure that will work? If not, you can try:

Button1.Text = "Eagles" & vbCrLf & "Beat Packers"

Sorry! Couldn't resist!
 
Ad

Advertisements

S

scorpion53061

hmmmm

See you Monday when you both eat your words......

You see Green Bay is the "New Jerusalem"

so says Irv Favre

Button1.Text = "Packers" & vbCrLf & "WIN SUPERBOWL"

GO PACK

:)
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

VB to .Net 6
A VB .NET 2003 complete application 2
VB SCript in .NET? 9
C# to VB .NET 1
VB and .NET Framework 5
Datagrid VB net 4
How to access serial ports in VB .NET 2003 ? 2
VB .Net vs VB 2005 express 2

Top