TextBox Multiline problem

EugeneEugene Member Posts: 309
in reports when i have a long word (long means it does not fit into the textbox by width) in multiline textbox the word is not wraped to the next line but instead is cut off.

Is there a way to make Navision wrap the text not by words but by symbols ?

Comments

  • Alex_ChowAlex_Chow Member Posts: 5,063
    On the textbox, did you remember to mark the MultiLine property to Yes?
  • EugeneEugene Member Posts: 309
    sure i did set MultiLine to "Yes"

    maybe i did not explain myself clearly enough, so here is an example:
    let's say i have the following text in the textbox:
    "this is a text with a verylongwordinit"

    now what i get in the textbox is this:
    this is a
    text with
    a verylon

    as you can see the long word is simply truncated and i would like it to be wraped to the next line like this:

    this is a
    text with
    a verylon-
    gwordinit
  • krikikriki Member, Moderator Posts: 9,118
    [Topic moved from Dynamics NAV forum to Navision forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • FeldballeFeldballe Member Posts: 26
    A textbox does not have a wordwrap option. Not even with multiline=true. You cannot change the number of displayed lines in an multiline textbox either. You might need a set of seperate single line textboxes, each in its own reportsection. It is possible to slice the textvariable into smaller parts and test for the number of required singleline textboxes. You could use an textvar-array for testing and storing.
Sign In or Register to comment.