just FYI, 2 event structures in the 1 while loop is not recommended....if
you wanted to trigger another event in sequence, then you can dynamically
call events....
Regis
"analog" wrote in message
news:506500000005000000D7350100-1066448259000@exchange.ni.com...
> I modified Dan's button listener program to have buttons DELETE,
> DELETE ALL, and ADD ALL. There is a bug in that if you hit buttons A,
> B, and C before you hit DELETE, DELETE ALL, and ADD ALL, the program
> adds A, B, and C to the output of DELETE, DELETE ALL, and ADD ALL. Is
> there a way to fix this so that when the user hit A, B, or C and then
> hit DELETE, or DELETE ALL, or ADD ALL, it will only do the
> corresponding f
unctions and forget about A, B, and C? I tried to do
> two event structures, one with the INSERT button and buttons A, B, C;
> and the other event structure with buttons DELETE, DELETE ALL, and ADD
> ALL, but this doesnt seem to work. Thanks.