Page 1 of 1

Headings of TWBROWSE

Posted: Wed Feb 22, 2006 2:32 pm
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.

Posted: Wed Feb 22, 2006 2:41 pm
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

Posted: Thu Feb 23, 2006 12:42 am
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?

Posted: Thu Feb 23, 2006 6:13 am
by dpaterso
Thanks for the attempt.

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

Regards,

Dale.