I’m still new to WebStyle, hopefully someone can easily point out my mistake. No matter what “property” name I use I cannot find any that will generate a True result. This is in the Opening event of a simple WebRectangle. I’d expect to see True, but never do (not with “height”, “background-color”, or any CSS value that most every object likely contains. Where is my blindingly obvious mistake?
Var hasValue as Boolean = Me.Style.HasCSSProperty("width") if hasValue then System.DebugLog("it has the value") else System.DebugLog("nope") end if