In Servoy 3.5.1 I have a problem with the function ‘application.overrideStyle(style_win, style_mac)’. I defined two different Styles for Mac and Win. In Servoy Developer the forms property settings ‘styleName’ is ‘style_win’ for all forms in the solution. While opening the Solution in a Client on a Mac, the ‘on open method’ looks for the current OS and changes the Style by:
var vStyle = application.overrideStyle(style_win, style_mac)
So far so good, styleClasses like ‘button’ or ‘field’ are changing to the ‘style_mac’-definitions, but the styleClass ‘form’ with ‘background-color’ don’t.
Is this ok or is this a bug?
I think I saw this somewhere else (maybe also reported by you) as well.
When this is a real issue you should report it to the support system…
Thank you Marcel, I reported it today to the support system!