STYLES With 18.01

STYLES With 18.01

Postby TimStone » Fri Feb 16, 2018 4: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: STYLES With 18.01

Postby nageswaragunupudi » Fri Feb 16, 2018 5: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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: STYLES With 18.01

Postby TimStone » Fri Feb 16, 2018 5: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: STYLES With 18.01

Postby nageswaragunupudi » Fri Feb 16, 2018 5: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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: STYLES With 18.01

Postby TimStone » Fri Feb 16, 2018 5: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
User avatar
TimStone
 
Posts: 2944
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: No registered users and 79 guests