AppendFrom without causing a new line
Posted: Thu Mar 30, 2006 9:21 pm
I'm assembling the contents to be displayed in a rve from two sources, as follows:
PQAURec^.MainText.AddTextNLA('1. ',0,0,0);
PQAURec^.MainText.AppendFrom(GetRandomizedMC(i));
PQAURec^.MainText.AddTextNLA(StrPas(CRLF),0,-1,0);
Where PQAURec^.MainText is type TRVTableCellData and GetRandomizedMC is a function that returns type TRVTableCellData. The code ALMOST works as I wish except that instead of
1. Return Value Of GetRandomizedMC
I get
1.
Return Value Of GetRandomizedMC
Is there a way to place the "1. " ahead of the value of GetRandomizedMC on the same line? This is quite important to my application because I construct numbered displays from stored data which doesn't (can't) contain the numbering.
Thanks in advance for any help you can provide.
PQAURec^.MainText.AddTextNLA('1. ',0,0,0);
PQAURec^.MainText.AppendFrom(GetRandomizedMC(i));
PQAURec^.MainText.AddTextNLA(StrPas(CRLF),0,-1,0);
Where PQAURec^.MainText is type TRVTableCellData and GetRandomizedMC is a function that returns type TRVTableCellData. The code ALMOST works as I wish except that instead of
1. Return Value Of GetRandomizedMC
I get
1.
Return Value Of GetRandomizedMC
Is there a way to place the "1. " ahead of the value of GetRandomizedMC on the same line? This is quite important to my application because I construct numbered displays from stored data which doesn't (can't) contain the numbering.
Thanks in advance for any help you can provide.