Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 4012

Change the text color of a SegmentedButton in Android

$
0
0

The following declare works fine to change the backgroud color of a SegmentedButton control:

Declare Sub setBackgroundColor Lib “Object:ctrl:MobileSegmentedButton” (myColor As Integer)
setBackgroundColor(c.ToInteger)

In order to change de text color of this control I tried:
Declare Sub setTextColor Lib “Object:ctrl:MobileSegmentedButton” (myColor As Integer)
setTextColor(c.ToInteger)

and I receive the following error:
A declare Object:ctrl:MobileSegmentedButton.setTextColor is not valid.

Any idea how to do it ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4012

Trending Articles