serge_girard wrote:Little joke:
event : how to catch a mouse in a grid ?
Serge

Moderator: Rathinagiri
serge_girard wrote:Little joke:
event : how to catch a mouse in a grid ?
Serge
+1 BUEN CHISTEPablo César wrote:serge_girard wrote:Little joke:
event : how to catch a mouse in a grid ?
Serge
jpp wrote:
to catch the mouse, just include "Cheese" at first column and make some refreshes every minute....
Hi Pablo,Pablo César wrote: I also wish to ask to Dr. Soto if this jpp implementation:Could be added at H_WINDOWS.PRG source lib file. What do you think about Claudio ?Code: Select all
*-- Deb Jpp ELSEIF AT("BYPASS", UPPER( EventGetPROCNAME (nIndex))) > 0 lProcessMessage := .T. *-- Fin Jpp
Code: Select all
EventSTOP ( nIndex, lStop )
Sorry Claudio, but I do not think so. How this could it be implemented in this my demo ? Would you show us please ?srvet_claudio wrote:this is equivalent to:
CREATE EVENT PROCNAME cProcName HWND hWnd STOREINDEX nIndex
Code: Select all
EventSTOP ( nIndex, lStop )
Pablo now I think I understand your demo, a Grid with Keyboard or Mouse, but not both at once.Pablo César wrote:Sorry Claudio, but I do not think so. How this could it be implemented in this my demo ? Would you show us please ?srvet_claudio wrote:this is equivalent to:
CREATE EVENT PROCNAME cProcName HWND hWnd STOREINDEX nIndex
Code: Select all
EventSTOP ( nIndex, lStop )
I tried and was unsuccessful...
Casi, casi, pero todavia sin suceso.Rathinagiri wrote:srvet_claudio wrote:Pablo now I think I understand your demo, a Grid with Keyboard or Mouse, but not both at once.
Add in your code:
CREATE EVENT PROCNAME Check_Event_ByPass() HwND form_1.GRID_1.HANDLE STOREINDEX nIndex
EventProcessAllHookMessage (nIndex, .T.)
Code: Select all
*-- Deb Jpp
ELSEIF AT("BYPASS", UPPER( EventGetPROCNAME (nIndex))) > 0
lProcessMessage := .T.
*-- Fin Jpp