Anyone adding Theme/Non-Theme logic to their base classes - if so what type of properties are you adjusting so that your controls look great in non-themed environments?
For example, one might change the BackColor of certain controls (form, page, button) to match the lighter appearance typical of XP styles, change SpecialEffect properties of buttons, etc. Some ideas to get this thread started following my signature.
Looking forward to hearing what properties you're changing and why.
Thank you,
Malcolm
...
Form (whose main surface is a pageframe)
* darker background to contrast with lighter page backgrounds (below)
.BackColor = rgb( 208,208,208 )
...
Pageframe pages
.BackColor = rgb(250,250,250) && similar to XP themed background
...
Buttons
.BackColor = rgb(240,236,236) (gray) | rgb(228,228,228) (pinkish)
.SpecialEffect = 1 (plain) | 2 (hot tracking)
* add a border
loBorder = .Parent.Addobject( .Name + "Border", "Shape" )
with This
loBorder = .Move( .Left - 1, .Top - 1, .Width + 2, .Height + 2 )
endwith
with loBorder
.BackStyle = 0 && transparent
.BorderColor = rgb(160,160,160)
.Zorder(1)
.Visible = .T.
endwith
...
Textbox
.SpecialEffect = 1 && plain
.BorderColor = rgb(160,160,160)