Addendum ... And so, you might want to do this if there are multiple tables
on the form and it's okay for them to delete from some tables but not
others.  This way you don't have to re-map the F9 key according to the
table.

Sami

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Sami Aaron
Sent: Thursday, March 20, 2008 8:36 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Use of [F9] key

Bernie -

One more method, if you don't want the users to be able to delete is to go
into the form in design mode and click Tables.  Choose your table and click
Settings and then un-check the option to Delete from the table.

If the user presses F9 they will be asked to confirm the delete but then
they will be given a message that delete is not allowed.

Sami

____________________________
Sami Aaron
Software Management Specialists
913-915-1971
[EMAIL PROTECTED]




-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Wednesday, March 19, 2008 10:05 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Use of [F9] key

At 10:54 PM 3/19/2008, Bernard Lis wrote:

>I need a refresher on this:
>
>How can I prevent the user from deleting a row. in a scrolling
>region, when they touch the [F9] key?

Here's how:

Use the following KEYMAP as Form "On Before Start" Custom EEP:

-- Start
SET KEYMAP [F9] TO [F12]
RETURN
-- End

Use the following KEYMAP as "On Form Close" Custom EEP to return
to the original key mapping.

-- Start
SET KEYMAP [F9] OFF
RETURN
-- End

That's all there is to it!

Very Best R:egards,

Razzak.


Reply via email to