FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour STYLES With 18.01
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
STYLES With 18.01
Posted: Fri Feb 16, 2018 04:36 PM

Perhaps we can unify this in one post. If I want my application to inherit all styles ( Windows, dialogs, buttoners, browse, menus, etc ) from the existing Windows 10 active theme, what settings do we want to make in the program ?

Is there a sample ?

Right now I have everything individually designed and perhaps sometimes I do not use a STYLE setting at all. I would like to make it all the same ( a very big job I know, but it would look nice and consistent ).

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: STYLES With 18.01
Posted: Fri Feb 16, 2018 05:02 PM

It is a good idea that there can be a way we specify a style globally and all controls automatically inherit that style. We will work towards this goal.

As of now, if we specify TXBrowse():lInheritStyle := .t., all browses inherit the style of the Main Window.

Regards



G. N. Rao.

Hyderabad, India
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: STYLES With 18.01
Posted: Fri Feb 16, 2018 05:10 PM

Thank you.

What about ButtonBar ? Right now I have them set to 2015. I think default is 2007 without that setting. Is that the most appropriate for Windows 10 ?

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: STYLES With 18.01
Posted: Fri Feb 16, 2018 05:18 PM

XBrowse uses 2007 style by default, which programmer can change.
When lInheritStyle is .T., it uses MainWindow style by default and still programmer can change the style.
In other words, the style explicitly specified by the programmer over-rides the default.

Regards



G. N. Rao.

Hyderabad, India
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: STYLES With 18.01
Posted: Fri Feb 16, 2018 05:25 PM

OK ... but what about ButtonBar ? I know there is an inherit for button bitmaps, but what about when we create a button bar ?

Thank you.

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

Continue the discussion