[futurebasic] Save 1 add 2

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2008 : Group Archive : Group : All Groups

From: Brian Heibert <b.heibert@...>
Date: Sun, 20 Apr 2008 17:29:07 -0400
Hi,

This is working to a point,  when the user presses the 2 button for  
example the 1 in the edit field disappears and two is put in it's place
what could I do to save the 1 and when 2 is pressed add the two and so  
on and so forth?

case 1
stxt$ = FN ButtonTextString$ (1278)

DEF SETBUTTONTEXTSTRING (1278,"1")
case 2
stxt$ = FN ButtonTextString$ (1278)

DEF SETBUTTONTEXTSTRING (1278,"2")


Brian