Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!morrow.stanford.edu!news From: AR.HFN@forsythe.stanford.edu (Hooshyar Naraghi) Newsgroups: comp.databases Subject: Mouse Support in Foxpro Message-ID: <1990Sep12.025454.16163@morrow.stanford.edu> Date: 12 Sep 90 02:54:54 GMT Sender: news@morrow.stanford.edu (News Service) Organization: Data Center, Stanford University, California, USA Lines: 18 This is a question for Foxpro pros. I have got my copy of the program and have gotten to its mouse operation. However, how can one write a program segment to use the mouse? Let us assume we would like to define n hitable objects so that the user can click on any of them. In Foxbase+/Mac this is a straightforward code, but I could not find any reference in the Foxpro manuals. OK, I have not read the whole manual yet, so please do not shoot me yet. The ON KEY LABEL MOUSE is ok to use, but how can we write the code so that we know which object (or memory variable) was hit. Then, we can construct a CASE or IF block to take different courses of action depending on which object was hit. Thanks in advance for your replies. Hooshyar Naraghi AR.HFN@forsythe.stanford.edu