Changing Styles by code

Hello,

is it possible to change the style of a WebRectangle by code ? If it has at first no style can I change it to a style “StyleRed” ? (a style I made).

Thank you for helping

Rectangle1.Style = StyleRed
That should do it :slight_smile: