Thanks Rehan. That works perfectly. I knew it would be something too obvious. I can't seem to get the speed button to be red though, either via object property or the property command. I'll work with it some more later on - wanted to get the fix to client first.
Thanks again,
Doug

On 5/6/2014 3:06 PM, rehan wyne wrote:

Doug,

Your described EEPs are working correctly. Just replace your Push Button with Speed Button because Push button changes the focus from Db Grid and Speed button does not. That's why your ON Exit EEP on DB Grid executes first which eventually disables your Push button before it runs the deletion code.

Regards

Rehan Wyne
On Tuesday, May 6, 2014 3:01 AM, Doug Hamilton <[email protected]> wrote:
Hi All.
I have a DB grid that displays lines of an order.
Outside the grid is a push button that deletes a selected row in the DB
grid when clicked.
The pushbutton is hidden on startup.
When the DB grid is clicked, an On Entry EEP makes the Delete push
button visible.
An On Exit EEP for the DBGrid makes the push button non-visible.
(i.e. the Delete push button is only visible when focus is on the DB grid).
A selected row in the DB grid can be deleted by clicking the Delete push
button.
It worked in 7.6

In 9.5, when clicking the delete button while in the DBGrid, the DBGrid
On Exit EEP makes push button non-visible and the Delete push button EEP
does not run.

I guess technically this intended behavior; apparently the order of EEP
execution has been changed in 9.5.
How can I trap the component ID of the Delete push button when clicked
(while focused on the grid) and bypass the PROPERTY cid VISIBLE 'FALSE'
that hides the Delete push button (and prevents its EEP from running)?
Or is there a better way to... oh wait, I'm sure there is.  Any clues?  :)

TIA, Doug

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com/







---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to