declare a boolean variable set in your file and set it to false intially. when you click on the button check for this variable if (true) { code for reset } else { code for set }
hope this will solve your problem. On Feb 23, 4:19 pm, kalavati singh <kalavati.si...@gmail.com> wrote: > Hi, > > Currently I have a button " Start Scan" when I click on that the > required graph is plotted. Now I want if I click on the same button second > time ( after the complete graph is plotted) it should clear the graph & set > everything as initially(no plot). How that can be done. Any examples , docs > please forward > > Regards > > Kalavati Singh -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.