![]() It includes low-level routines to initialise the mouse, read its status (key-press, mouse move) and the mouse co-ordinates. I have downloaded Clipmous and its routines work fairly well. RE: Using a mouse with Clipper 5.3 GriffMG (Programmer) 24 Nov 12 12:43 I have made a little progress in getting the SAMPLE program within Clipmous to work - I can get their replacement GETSYS.PRG to work, but again I have not discovered how to catch the mouse interrupt using INKEY().Īgain, if anyone has successfully used a mouse within their Clipper application it would be good to know. I must confess that I do not have a C compiler? I take it that these are calls to the separate C program in your other piece of code. There are also calls to a function CMOUSE() in the code which you have supplied. How do the mouse events get through to my application I had thought that maybe the INKEY() function would be able to pick up the pressing of the mouse button, but I cannot see how to do that. I can see that the first piece of coding is a Clipper program.ĭo I compile that and link it it into my application? I am not sure how that will then influence the workings of the various GET statements in my application so that the respond to the mouse do I need to make calls to MOUSE_INIT() and so on? I am not quite sure what to make of this. There is a bunch of code in the browsing routine as well. PARAMETERS Left_pressed,Right_pressed,Horizontal,Vertical *! Called by: INKEYWAIT() (function in TBROPROC.PRG) PUBLIC M_MOTION,DONT_CARE,M_CURS_WIDTH,M_CURS_HEIGHT PUBLIC M_RESET,M_SHOW,M_REMOVE,M_READ,M_SET_CURS RE: Using a mouse with Clipper 5.3 TonHu (Programmer) 23 Nov 12 06:37 If anyone has installed and is actively using a library which supports the use of a mouse I would be grateful to hear. The sample FGDEMO.EXE can be compiled and linked, but when run it appears just to change the video mode and then returns to the command prompt, so it is not possible to see what it offers (there is limited documentation). Have also downloaded Ferns Graphical Library (fgl v30.zip). However there is very limited documentation, and it is not clear to me what public variables and other modifications I need to add to my programs to make use of the supplied replacement GetSys.prg. Have downloaded Clipmous and can get the SAMPLE program to run it is possible to click on a field to establish focus for data entry and to invoke a menu selection by clicking on a section of displayed text this seems pretty good. I have investigated a couple of (free) packages. ![]() ![]() About twenty years too late I have realised that it would be nice to add some mouse support, however limited, to my Clipper applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |