Ask a questionAsk a question
 

Proposed AnswerHow to fit text in text box in report

  • Monday, November 02, 2009 8:07 AMWaseem Hussain Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Is there any way to fit text of a textbox field inside it without going to the second line. In case text length is greater then the text box size, it should simply terminate the line with a "..." and should not wrap to the next line. I'm currently using a substring() to do this, but many times it only brings in only the first few letters of a word instead of the normal word-wrap behavior which breaks at space character.

All Replies

  • Monday, November 02, 2009 11:32 AMRajaSekhar-Navigator Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Hi waseem,

    There are two properties for text box, CanGrow and CanShrink, make both the properties to "false", and do your coding to display "...".

    Hope this will help

    -Raja Sekhar K