Buttons & multiline text

  • Thread starter Thread starter Brian H
  • Start date Start date
B

Brian H

Using VB.NET, is there a way to make the button text wrap multiple lines?

The form designer seems to work with something like:
button1.text = "Line 1" & VisualBasic.ChrW(10) & VisualBasic.ChrW(13) &
"Line 2"

.... but nothing seems to work (using VbCrLf, et.al.) when deployed.... any
ideas?

Thanks,
Brian
 
Hello Brian,

Unfortunately, this scenario is not supported in the .NET Compact
Framework. As far as I remember, the reason for this is that Windows CE
itself does not support it.

Thank you,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Brian H" <[email protected]>
| Subject: Buttons & multiline text
| Date: Wed, 3 Mar 2004 12:43:17 -0800
| Lines: 13
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 204.120.131.254
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:47577
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Using VB.NET, is there a way to make the button text wrap multiple lines?
|
| The form designer seems to work with something like:
| button1.text = "Line 1" & VisualBasic.ChrW(10) & VisualBasic.ChrW(13) &
| "Line 2"
|
| ... but nothing seems to work (using VbCrLf, et.al.) when deployed.... any
| ideas?
|
| Thanks,
| Brian
|
|
|
 
Back
Top