Page 1 of 1
wBrowse Header
Posted: Wed Jul 25, 2007 8:47 pm
by TimStone
I've reviewed posts on header colors for the LISTBOX/wBrowse class and the position is that showing no color or background is correct for a themed application. However, I'm wondering if there is a way to at least make the header font bold so it will stand out ? I noticed we could use bitmaps for headers but thats a lot of work when a simple font enhancement would work. Alternatively, can we place an underline below the header ? At present there is no separation or differentiation from header to data in a themed application.
Thanks
Posted: Thu Jul 26, 2007 12:53 am
by James Bott
Tim,
>I've reviewed posts on header colors for the LISTBOX/wBrowse class and the position is that showing no color or background is correct for a themed application.
Can you show a link to that message thread? I have seen headers mostly with gray backgrounds, and some with color.
>However, I'm wondering if there is a way to at least make the header font bold so it will stand out ? I noticed we could use bitmaps for headers but thats a lot of work when a simple font enhancement would work.
I'm afraid that TWBrowse uses only one font so you would have to modify the class to use a different font for the header.
> Alternatively, can we place an underline below the header ? At present there is no separation or differentiation from header to data in a themed application.
Do you mean there is no line showing between the header and the first line of data, or that there is a line but you want the line to be bolder?
I would use a colored background. You might also want to look at TSBrowse as it is a lot more flexible (but I don't know if you could use a bold font).
James
Posted: Thu Jul 26, 2007 7:30 am
by StefanHaupt
Tim,
you can use the enhanced class TwBrowse from Hernan. It replaces the original class without changes in your source code.
It uses the new theader class if themes are detected (controlled by oBrw:lThemed). The color management is also greatly enhanced.
TWBrowse
Posted: Thu Jul 26, 2007 4:45 pm
by TimStone
I used the class by Hernan several years ago, but then he was not available, and changes in FW were not matched in his program.
I have not seen a reference to where an updated copy would be available. Will it be compatible with the most current version of FWH and xHarbour ?
James, there was a post on WBrowse on this forum asking about themes and the plain header, and Antonio replied that was the standard and was correct.
It is correct that there is no differentiating line between the header and the first data line. All of the other data lines are present.
Colored background
Posted: Thu Jul 26, 2007 4:47 pm
by TimStone
James,
BTW ... I did try a colored background, and it worked initially, and then stopped working with the July release. Getting a viable color pair was difficult. I am not sure what form the colors should be to work properly. I can play with that again.
Tim
Posted: Thu Jul 26, 2007 4:57 pm
by James Bott
Tim,
>James, there was a post on WBrowse on this forum asking about themes and the plain header, and Antonio replied that was the standard and was correct.
I did a search and couldn't find the thread. What exactly do you mean by "plain?"
>It is correct that there is no differentiating line between the header and the first data line. All of the other data lines are present.
By no "differentiating line" do you mean NO line at all? I have always seen a line. In fact there are really two lines in different shades of gray to make a 3d look (I would prefer just one line). Can you send me a screenshot showing no line?
James
No lines
Posted: Thu Jul 26, 2007 5:11 pm
by TimStone
sent to your email
Posted: Fri Jul 27, 2007 7:49 am
by StefanHaupt
Tim,
the last version of Hernan´s TWBrowse is 1.7 and it´s working fine with last version of FWH. I´m using it always instead of the original class.
If you want, I can send it to you.
TWBrowse
Posted: Fri Jul 27, 2007 6:04 pm
by TimStone
I'm having problems getting it to build here and I don't know why.
The big point is that I'm using xHarbour Builder with xCC ( Microsoft compatible ) so if that is what you have, I would appreciate it. You could send it to
TimStone@MasterLinkSoftware.com
Most people are using a Borland build. I tried simply building it with xHarbour into a library but it gives me many errors and redefinitions.
Also, if you have a better c file that will work with xCC/xHarbour Builder then I might be successful in building it. That file is the source of the problem.
Posted: Mon Jul 30, 2007 7:58 am
by StefanHaupt
I don´t have xCC/xHarbour Builder , I´m also using Borland C.
I will try to build an obj with the c-compiler I have here on my pc.
Got It
Posted: Mon Jul 30, 2007 3:29 pm
by TimStone
I received a copy compatible with xCC. Thanks.