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?
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...
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?
Comments
2) The text must include spaces or comas etc. to Navision be able to wrap the text...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
regards,
MY
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...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Regards,
MY
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Regards,
Angelo
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 Romzy
http://www.mibuso.com/forum/viewtopic.p ... text+width
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.