I tried:
1) Select button on the form + rightclick/Assign style/Create new style from..
2) Select button on the form + in Object inspector/AssignStyle property/Create new style from ..
Both have same problems.
Ok. I'm not sure if it's ok to touch that code BTW..
But I can tell from the code I wrote. You can use:
{ Save all published settings to file }
procedure SaveToFile(AFileName: string);
{ Load and assign all published settings from file }
procedure LoadFromFile(AFileName: string);
{ Assign the properties from AFileName to this instance }
procedure AssignFromFile(AFileName: string);
SaveToFile... this stores all properties, like saving a new theme does
LoadFromFile... this is like loading entirely all settings
AssignFromFile... this is what you want, it apply only the style related stuff
but i not tested in the case you say, may work or have the same bug as the other.
another way is style only one button and call assign from another control that needs the same style.
i know is not the best solution, i'm not working on this from a lot of months