MultiLine form.text?

peanutman
01-07-2005, 10:33 AM
by accident i discovered this:
if you do something like

me.text = "test" & vbcrlf & "test2"

your form.text will actualy have place for 2 lines of text (see screenshot if you don't understand)
but the problem is it shows the vbcrlf as squares, and doesn't put the "test2" on the new line

if a textbox has it's multiline property set to false, it wil also show all vbcrlf's as squares (but a form doesn't have a multipline property)

i was wondering if it were possible to have a true multiline form.text, with 2 lines of text.

does anyone know how? or is this just a glitch i discovered?

Reinout,

SteRobson
01-07-2005, 11:16 AM
Well well well
:whoops: It happens in VB6 too, and it doesn't seem to matter whether it's compiled or in the IDE. Interesting...

Iceplug
01-07-2005, 07:38 PM
Well, the text of the form also shows up in the taskbar entry... and since you can't have an entry with multiple lines in the taskbar, I'd doubt that you'd be able to have a multiline form titlebar... you may be able to fake it by putting a label on top and making the form borderless, but then, the title in the titlebar wouldn't reflect the "window caption". :)

PS: It's not a glitch.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum