Hi All,
I am attempting change the text colours of buttons as they are actioned. The code below should toggle the text colours of two buttons but it doesn't.
Code:
Sub BtnStandard_Action
CSSUtils.SetStyleProperty(BtnStandard, "fx-text-fill", "#0D88BF") 'Change button text colour
CSSUtils.SetStyleProperty(BtnExtended, "fx-text-fill", "LightGray") 'Change button text colour
Mode = 0
StandardExtended.Initialize("StandardExtended", 5) '5ms timer...
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aUBzip
via IFTTT
Aucun commentaire:
Enregistrer un commentaire