Page 1 of 1

STYLES With 18.01

PostPosted: Fri Feb 16, 2018 4:36 pm
by TimStone
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.

Re: STYLES With 18.01

PostPosted: Fri Feb 16, 2018 5:02 pm
by nageswaragunupudi
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.

Re: STYLES With 18.01

PostPosted: Fri Feb 16, 2018 5:10 pm
by TimStone
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 ?

Re: STYLES With 18.01

PostPosted: Fri Feb 16, 2018 5:18 pm
by nageswaragunupudi
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.

Re: STYLES With 18.01

PostPosted: Fri Feb 16, 2018 5:25 pm
by TimStone
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.