New Lines in labels

PhillipsAndrew

Registered User.
Local time
Today, 21:09
Joined
Aug 7, 2003
Messages
21
Does anyone know how to get a new line in a label using code?

I've tried using the Carriage return - Chr(13) and Linefeed Chr(10) characters, but these just generate non-printing type characters.

My code looks like this:-
strMessage = "Eqpt chosen:" & Chr(10) & Chr(13) & EqptName

Forms!frmMessageBox.Caption strMessage

I know it will work if I use a MsgBox, but I need to display a Message box for only a few seconds (without clicking OK), so I've created a form with a label and timer on it..

Any ideas much appreciated..

AP
 
Thanks for that...

Playing with this Windows Shell Scripting scares me a little! but I'll give it a go if there's no other way of getting carriage breaks in label text..


AP
 
I think its the "easiest" way out....

Regards
 

Users who are viewing this thread

Back
Top Bottom