Headings of TWBROWSE

Headings of TWBROWSE

Postby dpaterso » Wed Feb 22, 2006 2:32 pm

I hope that the subject line of this message did not send shivers down anyone's spine :)

Don't worry anyone.

What I want to know is if there is anyway of turning off ALL of the headings of a LISTBOX BROWSE on a dialog i.e. NO HEADINGS, NO FIELD DESCRIPTORS, NOTHING, NADA, just the data.

And when I say 'anyway' I mean by passing a parameter - not modifying the class!

Regards,

Dale.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa

Postby James Bott » Wed Feb 22, 2006 2:41 pm

Dale,

I hope that the subject line of this message did not send shivers down anyone's spine.


Well, a tiny one.

No you can't turn headers off in TWBrowse. It would be nice if we could.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Rochinha » Thu Feb 23, 2006 12:42 am

Hey friend,


You can try this:

tbrowse():lVscroll := .f. // Hide Vertical Scroll Bar
tbrowse():lHscroll := .f. // Hide Horizontal Scroll Bar
@ lin,col LISTBOX oLbx FIELDS ... HEADERS "" ...
...
oLbx:nHeaderHeight := 0 // Number of pixel header height

Ok?
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo

Postby dpaterso » Thu Feb 23, 2006 6:13 am

Thanks for the attempt.

It would appear, though, that only TXBROWSE has a nHeaderHeight parameter, TWBROWSE not.

Regards,

Dale.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 80 guests