Groups > Superbase > Superbase 3 programming > Re: entering a new line in a text box programatically




entering a new line in a text box programatically

entering a new line in a text box programatically
Thu, 06 Mar 2008 01:02:26 -060
I've got a really basic problem I think you would be able to help me with.

I'm trying to programmatically enter some text into a SB text field that allows

returns....but....I can't seem to get the text I'm entering to go to the next 
line.  I've tried CHR$(10) and CHR$(13) and a combination of the two, but 
nothing seems to work.  Any ideas?

-- 
Best Regards,

James W. Foy
Dynamic Alternatives, Inc.
5013 Singing Trees Drive
Racine, Wisconsin 53406
Voice 262-631-0040
Fax   262-631-0041
Email: jim@dynamic-alt-inc.com
Post Reply
Re: entering a new line in a text box programatically
Thu, 6 Mar 2008 11:21:16 +0200
TB.text = TB.text +  CHR$ (13) + CHR$ (10)
that should add a new line

Akram
"Jim Foy" <jim@dynamic-alt-inc.com> wrote in message 
news:fqo4vp$rnh$1@ipx22096.ipxserver.de...
> I've got a really basic problem I think you would be able to help me with.
>
> I'm trying to programmatically enter some text into a SB text field that 
> allows returns....but....I can't seem to get the text I'm entering to go 
> to the next line.  I've tried CHR$(10) and CHR$(13) and a combination of 
> the two, but nothing seems to work.  Any ideas?
>
> -- 
> Best Regards,
>
> James W. Foy
> Dynamic Alternatives, Inc.
> 5013 Singing Trees Drive
> Racine, Wisconsin 53406
> Voice 262-631-0040
> Fax   262-631-0041
> Email: jim@dynamic-alt-inc.com
> Website: www.dynamic-alt-inc.com
> 

Post Reply
about | contact