diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2015-08-11 18:18:45 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2015-08-11 18:18:45 +0100 |
commit | 0e8976c7deb832b59f1d0680332483eb2c4dc679 (patch) | |
tree | db488207a1227cb190b64c17fa5ca1b331a91430 /images/menu_save_16.bmp | |
parent | ecf6652bfe7080597271d1984038c74783b0aebf (diff) | |
download | fpGUI-0e8976c7deb832b59f1d0680332483eb2c4dc679.tar.xz |
ActiveTabColor/ActiveTabTextColor now defaults to clDefault
The problem was that if you didn't specify ActiveTab*Color values, but did
specify a Tabsheet to have a different color, when that tabsheet became
the active one the color changed to clWindowBackground. This looked odd.
Now the ActiveTab*Color = clDefault that tabsheet will still maintain its
color, even if it is a background tab or a active tab.
When you assign any other color value to ActiveTab*Color (not clDefault),
then they will take preference.
* Also prevent an error when calling DrawTab with the ATabSheet parameter
being nil
* refactored some color assignment code
Diffstat (limited to 'images/menu_save_16.bmp')
0 files changed, 0 insertions, 0 deletions