Options

Word Wrap in text fields

hdhunayhdhunay Member Posts: 2
edited 2002-03-07 in Navision Financials
Has anyone developed code that will allow word wrap in a text field within a table (i.e. the user simply types the text and Navision automatically enters a new line once the maximum allowable characters has been entered)?

Comments

  • Options
    John_TegelaarJohn_Tegelaar Member Posts: 159
    You can't do this. The place to check if the number of characters typed is getting near the maximum allowed, is the OnInputChange trigger of the textbox of the form. Although you can detect the length of the current input and search for a place to break the line (at a space), you cannot insert a new line. You will get the error that "You cannot make any changes in the database from this trigger"

    Look in the download section for the Navision Pad text editor, this should provide you the desired functions.

    John
  • Options
    FPulsfortFPulsfort Member Posts: 43
    Hi magic,

    Have a look a the Proerty "AutoEnter" in the column of the grid. If theres a yes then NF will automatically send an Enter at the end of the textfield. If the Textfield is the last in your grid then NF steps one line further!

    Greetings,
    Frank
Sign In or Register to comment.