Doug,

Another possibility is to make the delete button visible when clicking on a
row / column in the DB Grid (did you convert to the enhanced DB grid?)
Then you could hide the the delete button at the end of the EEP procedure of
the deletion.

Maybe not a complete solution but maybe a start

Tony

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Doug
Hamilton
Sent: dinsdag 6 mei 2014 0:00
To: RBASE-L Mailing List
Subject: [RBASE-L] - DB Grid On Exit EEP

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

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: 
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, 
place any 
text to search for.
================================================


Reply via email to