HuZz Member Licensed User Nov 3, 2017 #1 Hi everybody, is it possible to change at runtime the slider trackcolor? there's not an exposed method to do that if not in the designer.... thanks
Hi everybody, is it possible to change at runtime the slider trackcolor? there's not an exposed method to do that if not in the designer.... thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2017 #2 Code: Dim no As NativeObject = Slider1 no.SetField("minimumTrackTintColor", no.ColorToUIColor(Colors.Yellow)) Upvote 0
Code: Dim no As NativeObject = Slider1 no.SetField("minimumTrackTintColor", no.ColorToUIColor(Colors.Yellow))
HuZz Member Licensed User Nov 6, 2017 #3 Thank you so much Erel! One question.... all the nativeObject properties we can set belongs to native xcode objects... is there a guide or reference charts where i can get these methods and/or object properties by my own? Upvote 0
Thank you so much Erel! One question.... all the nativeObject properties we can set belongs to native xcode objects... is there a guide or reference charts where i can get these methods and/or object properties by my own?
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2017 #4 NativeObject provides access to the native APIs. This specific API is documented here: https://developer.apple.com/documentation/uikit/uislider/1621348-minimumtracktintcolor?language=objc Upvote 0
NativeObject provides access to the native APIs. This specific API is documented here: https://developer.apple.com/documentation/uikit/uislider/1621348-minimumtracktintcolor?language=objc