wBrowse Header

wBrowse Header

Postby TimStone » Wed Jul 25, 2007 8:47 pm

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
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby James Bott » Thu Jul 26, 2007 12:53 am

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

Postby StefanHaupt » Thu Jul 26, 2007 7:30 am

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.
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

TWBrowse

Postby TimStone » Thu Jul 26, 2007 4:45 pm

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.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Colored background

Postby TimStone » Thu Jul 26, 2007 4:47 pm

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
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby James Bott » Thu Jul 26, 2007 4:57 pm

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

No lines

Postby TimStone » Thu Jul 26, 2007 5:11 pm

sent to your email
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby StefanHaupt » Fri Jul 27, 2007 7:49 am

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.
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

TWBrowse

Postby TimStone » Fri Jul 27, 2007 6:04 pm

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.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby StefanHaupt » Mon Jul 30, 2007 7:58 am

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.
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Got It

Postby TimStone » Mon Jul 30, 2007 3:29 pm

I received a copy compatible with xCC. Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

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