Busy with a guitar fretboard learning ap, how can i set the text in a button for 1 seccond?
Code: Select all
Procedure Button1_0(EventType)
If GetGadgetText(Button1_0) = ""
SetGadgetText(Button1_0, "E")
Delay(1000)
SetGadgetText(Button1_0, "")
Else
SetGadgetText(Button1_0, "")
EndIf
EndProcedureWhat i want is, if i press the button, the letter E is displayed for 1 second in the button and then automaticaly empties it, or click again and the E is removed...
Is there a way to start a procedure outside the eventloop?
Thanks in advance....




