moore_it Well-Known Member Licensed User Longtime User Nov 21, 2017 #1 Hi all, it's possible to check if border and rounded angle values in an customview are <> 0 ? Thanks !
Hi all, it's possible to check if border and rounded angle values in an customview are <> 0 ? Thanks !
stevel05 Expert Licensed User Longtime User Nov 21, 2017 #2 Styles set on the customview are passed to the DesignerCreateView sub on the base panel so you can query mBase.Style which returns a string that you can search and/or parse. Upvote 0
Styles set on the customview are passed to the DesignerCreateView sub on the base panel so you can query mBase.Style which returns a string that you can search and/or parse.
moore_it Well-Known Member Licensed User Longtime User Nov 21, 2017 #3 Ok i find it ! Thanks very much ! Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2017 #4 No need to parse the CSS yourself. You can use CSSUtils.GetStyleProperty. Check these two properties: -fx-border-width and -fx-border-radius Upvote 0
No need to parse the CSS yourself. You can use CSSUtils.GetStyleProperty. Check these two properties: -fx-border-width and -fx-border-radius