Word Wrap in text fields

hdhunay
Member Posts: 2
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)?
0
Comments
-
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.
John0 -
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,
Frank0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions