button click, check text

Cor

Active Member
Licensed User
Longtime User
mode=desktop

text will not change on button , color is changed

How to solve?

If mode="edit" Then
mode="run"
butEdit.txt="RUN"
butEdit.Color=cGreen
Else If mode="run"
mode="edit"
butEdit.Color=cRed
butEdit.Text="EDIT"

grCor
 
Top