[Lazarus] problems with de memo component

Héctor Fiandor Rosario hfiandor at infomed.sld.cu
Sat Apr 26 14:59:20 CEST 2008


Dear list:

I am working with FreePascal

I have a Form with a memo component "mNomGrupos".
I have a record with strings datas in the variable "nombre".

When the Form activate I do:

mNomGrupos.Text:=PtrNombresInterno^.nombre;

and in the component I can see the data but with a CarReturn (line jump) not 
included in the variable and not wanted.

I have adjusted de Properties WantReturns and WantTabs to false and WordWrap 
to true.

I have a OK button to do nombre:=mNomGrupos.text to write the data in the 
variable "nombre";

unfortunately when saving I obtain a textfile with the datas in this way

controlesca,nombre
001000000,PROCESO1
,
001001000,REQUISITO1_1,

with a line jump not wanted

I will appreciate very much your help to avoid this effect in the memo 
component when charge the varible.

thanks in advance,

Ing. Héctor F. Fiandor
hfiandor at infomed.sld.cu 




More information about the Lazarus mailing list