Syntax help for Indicator

I wish to change the Indicator for a WebButton to “Danger”

Psuedocode: me.Indicator=indicator(“Danger”)

What is the syntax?

me.Indicator = WebUIControl.Indicators.Danger

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.