Thread: Image Button
View Single Post
  #5 (permalink)  
Old 10-18-2007, 03:29 PM
alfcen's Avatar
alfcen alfcen is offline
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Four image buttons with arrows (GIF) would control a telescope in all four directions. It will for instance slew left as long as you keep the Left arrow button pressed (mouse down) and stop as you release the image button (mouse up). The mouse up event would send a "stop" command.

A standard button will do alike, however it can't take up images. Using a form's mouse events requires capture of screen coordinates, thus more source code and... error-prone.

Mouse events on an image button would be great for any application that controls external devices via a serial port or otherwise.
Reply With Quote