lundi 30 mai 2016

How to detect button color and change?

I try to detect button color and change it to another color but I couldn't do. My codes are given below. If the button color is red and pressed on it, button color should change to green. If the button color is green and pressed on it, button color should change to red. What is my fault here?

Code:
  ub BtnSystemOnOff_Click
If TextFieldimei.Text.Length = 15 Then
BtnSystemOnOff.Tag = BtnSystemOnOff.Background
If (BtnSystemOnOff.Tag = Colors.Red) Then
BtnSystemOnOff.Color =...
How to detect button color and change?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/25vBQ0Y
via IFTTT

Aucun commentaire:

Enregistrer un commentaire