MultiLine TextBox

Angelo
Member Posts: 180
Hi Everybody, I want to know How to make text box to be multiline?I set multiline property = yes but when I type a lot of characters in my small size text box,the characters not type in bottom place after end of texbox width?
Thx,
Angelo
Thx,
Angelo
0
Comments
-
1) The text box must be enough high...
2) The text must include spaces or comas etc. to Navision be able to wrap the text...0 -
Kine,could you please send me the sample (object)? maybe form object that fill one textbox that can be wrapped.
regards,
MY0 -
OBJECT Form 90001 Multiline test { OBJECT-PROPERTIES { Date=25.07.05; Time=11:34:22; Modified=Yes; Version List=; } PROPERTIES { Width=7590; Height=4950; ActiveControlOnOpen=1000000004; SourceTable=Table27; OnInit=BEGIN MLText := Text000; END; } CONTROLS { { 1000000000;TextBox;550 ;1980 ;6820 ;1870 ;MultiLine=Yes; SourceExpr=MLText } { 1000000002;Label ;550 ;990 ;3300 ;440 ;LeaderDots=No; CaptionML=ENU=Multiline box } { 1000000004;CommandButton;5170;4180;2200;550; HorzGlue=Right; VertGlue=Bottom; CaptionML=ENU=Control } } CODE { VAR MLText@1000000000 : Text[1000]; Text000@1000000001 : TextConst 'ENU=This is some multiline text which will be wraped on the form to more than one line. If you want edit this line, you will get one line edit box...'; BEGIN END. } }
Do not forget, that if you focus on this edit box, you will get one line, because text box in edit mode is only one line...0 -
I mean, I want it not become one line again when I edit text in text box.is Navision can not be like that,Kine?
Regards,
MY0 -
No, there is no way... only external components. Look into download section...0
-
Ok,thx for your object,Kine....
Regards,
Angelo0 -
Hello!
My first time here so ... I hope someone can F1 me. [-o<
I used STRLEN for long text variables, but that does not help solving my problem completely. On documents (reports) i have two sections for printing STRLEN(description) <= 40 and STRLEN(description)> 40. But there is a difference in physical width of characters so sometimes a string of more than 40 chars is printed as one line but on the second section (textbox-height for two lines).
'i' and 'W', UPPERCASE ... !!! ](*,)
Is it possible to get an information on phisical properties of a string or character or to calculate it somehow?
Thanx and bye,
:-k Romzy0 -
0
-
Thank you0
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