Book a Demo

Author Topic: Wrapping text in shape script  (Read 3160 times)

Paul Vermette

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Wrapping text in shape script
« on: April 01, 2008, 04:01:12 am »
When using shape script I am using the image draw method to bring up an image from the gallery. I am then using print statment to print the name of the object at the bottom of the image. The problem I am experiencing is that the text wraps upward instead of downward writing on top of the image.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Wrapping text in shape script
« Reply #1 on: April 01, 2008, 10:36:04 pm »
Just a guess here, since I'm not sure what your script looks like.

Try creating two shapes, one on top of the other (via the Layout statement I think). The top shape should contain your image, the bottom one your text. Give the top one a PreferredHeight of less than 100 - this is actually a percentage value - and see if it moves up out of the way of the text.

Once you get things even close to working you should be able to massage the whole thing until you get the appropriate effect.

David
No, you can't have it!