View Full Version : Wordwrap paragraph object...
itamar
05-06-2006, 04:56 PM
Hi everyone,
I would like to wordwrap my text in the paragraph object, any ideas how to do that?
(the text is dynamicly added)
Regards,
Itamar.
Intrigued
05-06-2006, 08:50 PM
I would recommend setting a variable with a specially formulated string. The special part of the string is what is before and after such, the double angle brackes ([[ and ]]).
Examples:
strParaMsg = [[Hi
mom
and
dad
from
son/daughter]]
Paragraph.SetText("Paragraph1", strParaMsg)
Now, create a blank project, add a paragraph object and then past this code in the On Show of the default page, then F5 (Preview) such project.
itamar
05-07-2006, 03:00 AM
I tried it and it works.
:yes
Itamar.
Intrigued
05-07-2006, 09:41 AM
(puts cigar between teeth and tightens London Fog overcoat belt)
Another unsolved code case closed!
:D
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.