Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Location
    Vancouver, BC, Canada
    Posts
    87

    Wordwrap paragraph object...

    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.
    Last edited by itamar; 05-06-2006 at 03:59 PM.

  2. #2
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    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:

    Code:
    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.
    Intrigued

  3. #3
    Join Date
    May 2004
    Location
    Vancouver, BC, Canada
    Posts
    87

    thanks...

    I tried it and it works.


    Itamar.

  4. #4
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    (puts cigar between teeth and tightens London Fog overcoat belt)

    Another unsolved code case closed!

    Intrigued

Similar Threads

  1. Change font in paragraph object?
    By rdf in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 10-22-2004, 12:03 PM
  2. Replies: 4
    Last Post: 10-06-2004, 12:40 PM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts