473,386 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can I enter a two-line text description on a button

C.K
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?
Nov 21 '05 #1
9 1842
try using vbCrLf.

Imran.

"C.K" <assdadad> wrote in message
news:up**************@TK2MSFTNGP09.phx.gbl...
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?

Nov 21 '05 #2
Dim myText As String

myText = "Line One" & vbCrLf & "Line Two"

Button2.Text = myText
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"C.K" <assdadad> wrote in message
news:up**************@TK2MSFTNGP09.phx.gbl...
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?

Nov 21 '05 #3
C.K

Yes,
Thank you
"Imran Koradia" <no****@microsoft.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
try using vbCrLf.

Imran.

"C.K" <assdadad> wrote in message
news:up**************@TK2MSFTNGP09.phx.gbl...
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?


Nov 21 '05 #4
* "C.K" <assdadad> scripsit:
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?


\\\
Me.Button1.Text = _
"Hello" & ControlChars.NewLine & _
"World!"
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #5
C.K
Yes, this is better, helps to remember all the
various escapes
:)
Thanks
C.V.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Oy**************@TK2MSFTNGP14.phx.gbl...
* "C.K" <assdadad> scripsit:
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?


\\\
Me.Button1.Text = _
"Hello" & ControlChars.NewLine & _
"World!"
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6
Hold On, I give you the answer first and yet you thank everyone except me ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"C.K" <assdadad> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...

Yes,
Thank you
"Imran Koradia" <no****@microsoft.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
try using vbCrLf.

Imran.

"C.K" <assdadad> wrote in message
news:up**************@TK2MSFTNGP09.phx.gbl...
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?



Nov 21 '05 #7
C.K

Sorry, I should have thanked everyone, you are correct to point
this out, and I assure you it won't happen again, you can be
assured of that,

Thanks
"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
Hold On, I give you the answer first and yet you thank everyone except me ?
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"C.K" <assdadad> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...

Yes,
Thank you
"Imran Koradia" <no****@microsoft.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
try using vbCrLf.

Imran.

"C.K" <assdadad> wrote in message
news:up**************@TK2MSFTNGP09.phx.gbl...
> Can I enter a two-line text description on a button,
> chr(13) doesn't seem to do anything ?
>
>



Nov 21 '05 #8
One Handed Man ( OHM - Terry Burns ) wrote:
Hold On, I give you the answer first and yet you thank everyone except me ?


Oh... brother..
Nov 21 '05 #9
Hey, I want to live in an egalitarian world where everyone get's a fair
deal, dont you ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

<us**@domain.invalid> wrote in message
news:uh**************@TK2MSFTNGP14.phx.gbl...
One Handed Man ( OHM - Terry Burns ) wrote:
Hold On, I give you the answer first and yet you thank everyone except
me ?
Oh... brother..

Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bob Hynes | last post by:
Hi All, In access97 I have an unbound textbox with the format property set to 'short date' and an input mask of 99/99. In the after update event of the textbox I have code; me!textbox =...
4
by: Vazz | last post by:
I am trying to capture the key combination "Control + Shift + Enter" in a KeyDown event. I am able capture "Control + Enter" using (e.KeyCode == Keys.Enter && e.Modifiers == Keys.Control). How do I...
5
by: Ken Varn | last post by:
If I have a value type such as int that I want to protect in a multi-threaded situation, Is it safe to use Monitor::Enter(__box(value))? I am thinking that a different object pointer is generated...
0
by: Jude Upperman | last post by:
Is there a new virus going around? view application at www.jupperman.com/flashcard. I copied the flashcard example from the MCSD Self-Paced Training Kit for Web Applications and posted it on...
4
by: Sam | last post by:
Hi, This is driving me totally insane. I have two datagrid controls, and when I click on the first one its Enter event is called properly but the Enter event of the other one is being called...
2
by: filbennett | last post by:
Hi Everyone, I'm generally unfamiliar with Access form design, but have programmed Cold Fusion applications for a couple of years. I'd like to build a data entry form in Access that allows the...
6
by: Clark Sann | last post by:
Can someone help me understand what object should be used as the lock object? I've seen some programs that use Monitor.Enter(Me). Then, in those same programs, they sometimes use another object. ...
0
by: mlarson | last post by:
I have a program that worked fine then they needed to be able to also see the empty cells (inmate cells) on a housing unit when they ran the query. So what I had to do was take two tables and...
18
by: Andrew Gentile | last post by:
Hello, I would like to find a way of using scanf() and the Enter key to have user-controlled program flow. Currently, I have a couple of lines in my program which serves as a pause in the...
18
by: Zytan | last post by:
I want the same function to be run whether you press Enter or double click the listbox. It seems really verbose to write both handlers to both events everytime, even if they both call the same...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.