xbrowse with double row

xbrowse with double row

Postby damianodec » Tue Sep 17, 2019 12:57 pm

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
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: xbrowse with double row

Postby James Bott » Wed Sep 18, 2019 3:13 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xbrowse with double row

Postby cnavarro » Wed Sep 18, 2019 9:00 pm

James, That has always worked for me.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: xbrowse with double row

Postby damianodec » Thu Sep 19, 2019 8:06 am

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)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests