Jan,

 

I have tried disabling the DBGrid but the mouse clicks are stored in a buffer 
and as soon as you re-enable the DBGrid the EPP executes again.  

 

John

 

From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Monday, March 02, 2009 3:04 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Mouse Happy Users

 

John, 

  

I've done things like putting this in my on-clik eep. 

  

IF vSelectedRow IS NOT NULL THEN 

   PROPERTY mydbgrid ENABLED 'FALSE' 

   --do what I need to do here 

   PROPERTY mydbgrid ENABLED 'TRUE'  

 ELSE 

   PROPERTY mdbgrid ENABLED 'TRUE'  

ENDIF 

RETURN 

  

Jan 
  

 

-----Original Message----- 
From: "John Engwer" <[email protected]> 
To: [email protected] (RBASE-L Mailing List) 
Date: Mon, 2 Mar 2009 14:57:33 -0500 
Subject: [RBASE-L] - Mouse Happy Users 

In my applications I use a LOT of DBGrids that require a single mouse click to 
execute an EEP.  Most users like the fact that one click is all that is 
required.  However, are always a few  users that when they see a list, they 
think you should click the mouse at least two or three times (I call them Mouse 
Happy Users).  This causes the EEP to execute twice (or more), sometimes 
producing undesirable results or error conditions.  I have tried warning 
messages “Single Click Only!” but they ignore the warning and keep clicking 
away.  Does anyone have a way to suppress the mouse after one click that 
doesn’t require a lot of programming? 

  

John Engwer 

Engwer & Associates 

2449 Scenic Ridge Drive 

North Huntingdon, PA 15642-2120 

  

Phone: 412 751-2433 

Email: [email protected] 

WWW.ENGWER.US 

Reply via email to