Headings of TWBROWSE

Post Reply
dpaterso
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa
Contact:

Headings of TWBROWSE

Post by dpaterso »

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

Post by James Bott »

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
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

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?
dpaterso
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa
Contact:

Post by dpaterso »

Thanks for the attempt.

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

Regards,

Dale.
Post Reply