[futurebasic] Sudoku Detals

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2006 : Group Archive : Group : All Groups

From: Ronald Anderson <rjanderson@...>
Date: Sun, 22 Jan 2006 17:16:58 -0600
Just is case someone can use my cure here is the code that is placed in 
Other Null Events in the Main File.

     SELECT gWhichClass
       CASE _MainWnd
         CALL GETMOUSE(gMouseY)
         Position = FN pGpointInObj
         LONG IF Position <> 0
           gPosition = 1
           CURSOR _plusCursor
         XELSE
           gPosition = 0
           CURSOR _arrowCursor
         END IF
     END SELECT

I use the gPosition global variable in another place to prevent being 
able to click outside the puzzle grid.

It is necessary to put an object of same dimensions as grid in the 
window you are using.

Again thanks for your help