OLVtelephoneman
Technical User
I'm writing an oscilloscope control program. The program is supposed to loop and so continually collect data from the scope and display it. But if the user clicks a button, control needs to go to the button handling routine, then back to the loop. With Turbo Pascal and DOS it was easy to do with the "keypressed" command, , e.g., repeat ... until keypressed. But there doesn't seem to be any equivalent in Delphi, such as "mouse clicked". Any suggestions as to how to do this? Perhaps I'm missing something obvious! Thanks!