05-10-2015 11:22 AM
another question, I need add an undo button which will undo the last command and remove the from event log, can you give me some suggestion for the program logic?
 altenbach
		
			altenbach
		
		
		 
		
		
		
		
		
	
			05-10-2015 11:40 AM
Some other comments:
 altenbach
		
			altenbach
		
		
		 
		
		
		
		
		
	
			05-10-2015 11:46 AM
@zqz51911 wrote:
another question, I need add an undo button which will undo the last command and remove the from event log, can you give me some suggestion for the program logic?
You only keep one entry in the event log because you seem to overwrite the file every time. A "remove" would just clear the file unless you store previous values in a shift regsiter and overwrite the file and indicator with them. In any case, you would just add another event case and manipulate the data in any way you want. That's what programming is for. 😄
05-10-2015 11:48 AM
That Is help are lot 