I post this TEST inherent in changing the theme for button commands.
The purpose is to be able to change ONLY some parts of the Forms without touching the unaffected parts.
Soon I would like to apply this method to other commands as well, such as acTabCtl, acListBox, etc.
The tests I have done work well using the button “presets” proposed by MsAccess.
It does NOT behave correctly when the paramenters of these buttons are changed, such as.
CommandButton.HoverColor, CommandButton.PressedColor, etc.
where the settings are NOT reported correctly.
With MsAccess “standard” buttons (without using presets) it seems to behave well by transposing even the CommandButton.HoverColor, CommandButton.PressedColor parameters.
If anyone thinks this Example is interesting they can use it without any problem.
And maybe you can find some errors or possible improvements
(*) last notes: the buttons that you want to modify MUST have one of the TAGs that allow precisely the modification: BtnOK, BtnNOK, BtnGen, BtnExit, BtnDel, BtnPrn
(**) you can add any TAG you want, just edit the record source of the command “BtnTagChoice”