Page 1 of 1

xbrowse with double row

Posted: Tue Sep 17, 2019 12:57 pm
by damianodec
hi,
I have a table with these fields:
CLIENTE, ARTICOLO, PREFISSO, ORDINE, DATA , QUANTITA
and I would like to get this xbrowse:
Image

any help?

thanks

Re: xbrowse with double row

Posted: Wed Sep 18, 2019 3:13 pm
by James Bott
I found this in my notes, apparently from an old forum message. I don't remember if I ever tried it.
To get multiple lines per record:

oCol:bStrData := { || oCust:name + CRLF + oCust:street }

oBrw:nDataLines := 2
oBrw:nRowHeight := 35 // optional. Automatic, but you may enlarge this if you like

xBrowse will also wordwrap at spaces IF nDataLines and nRowHeight are set to allow it.

Re: xbrowse with double row

Posted: Wed Sep 18, 2019 9:00 pm
by cnavarro
James, That has always worked for me.

Re: xbrowse with double row

Posted: Thu Sep 19, 2019 8:06 am
by damianodec
thank you,
when I return to the office I will try.