A
Andrew Brill
This is quite an unusual request but we'd like to be able to turn XP themes
on and off during a programs runtime. Reason being we have a new section of
our program that looks great in the XP Theme but we want to join this to an
older program that has tab controls etc which are ruined by the XP theme (as
an aside - it would have been niced if MS had fixed this in one of the
Office SP's!).
Anyway, we got this to turn themes on, but it only takes effect when the
database is reloaded:
CurrentDb.Properties("Themed Form Controls") = True
Now if you do it from the menu, it takes immediate effect so how do we
achieve the same thing in code?
Thanks,
Andrew
on and off during a programs runtime. Reason being we have a new section of
our program that looks great in the XP Theme but we want to join this to an
older program that has tab controls etc which are ruined by the XP theme (as
an aside - it would have been niced if MS had fixed this in one of the
Office SP's!).
Anyway, we got this to turn themes on, but it only takes effect when the
database is reloaded:
CurrentDb.Properties("Themed Form Controls") = True
Now if you do it from the menu, it takes immediate effect so how do we
achieve the same thing in code?
Thanks,
Andrew