C Cor Active Member Licensed User Longtime User Jun 4, 2010 #1 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
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
agraham Expert Licensed User Longtime User Jun 4, 2010 #2 Is this typo in your real code? butEdit.txt="RUN" ' should be "Text" If you get a strange problem it is worth trying to compile. The compiler is stricter thatn the IDE and will throw up errors that the IDE ignores.
Is this typo in your real code? butEdit.txt="RUN" ' should be "Text" If you get a strange problem it is worth trying to compile. The compiler is stricter thatn the IDE and will throw up errors that the IDE ignores.