xbrowse with double row

Post Reply
User avatar
damianodec
Posts: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

xbrowse with double row

Post 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
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: xbrowse with double row

Post 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.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: xbrowse with double row

Post by cnavarro »

James, That has always worked for me.
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
damianodec
Posts: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

Re: xbrowse with double row

Post by damianodec »

thank you,
when I return to the office I will try.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Post Reply