Happy Chinese New Year (today) or
Happy New Year (4 weeks ago)!
I'd quite forgotten that setting! Appreciate the steer. That solves the
termination issue.
Still would like to use [esc] as noted. This Form is designed to handle
frantic, hi-pressure, in-the-moment in-your-face clawing scratching
public confrontation, such as one experiences at a crowded
registration/ payment/ will-call table ten minutes before the whistle
blows.
In this context, an [esc] keypress clears the form quickly between
transactions, without the operator having to take his/her hands off the
keyboard.
All the best, Bruce
Bruce A. Chitiea
SafeSectors, Inc.
1142 S Diamond Bar Blvd # 442
Diamond Bar CA 91765-2203
[email protected]
(909) 238-9012 m
------ Original Message ------
From "'Karen Tellef' via RBASE-L" <[email protected]>
To "[email protected]" <[email protected]>
Date 1/29/2025 1:09:51 PM
Subject Re: [RBASE-L] - Using the [Esc] key in a form
Hi Bruce! If I don't want [ESC] to exit a form, I always go to the
Form Properties / Dynamic Caption, and I check "disable [x]
caption......" option near the bottom
That way, ESC doesn't exit the form. The user must press an "exit"
button where I'm able to do error checking and keep them in the form
until they fix errors or click a separate "cancel / quit" button. I do
that almost all the time now
Karen
On Wednesday, January 29, 2025 at 02:47:29 PM CST, Bruce Chitiea
<[email protected]> wrote:
All:
(rbg11)
Apparently by default, a Form terminates when the [esc] key is hit; no
matter the setting of the ESCAPE operating condition.
But I'd like to capture an [esc] key-press within a Variable Edit
control, to direct focus to an 'Exit' push button control, thereby
avoiding Form closure.
Thinking that an On Key Press EEP might do the trick, after reading the
R:Syntax descriptions of the CHKKEY and GETKEY functions, and ensuring
that ESCAPE is set to OFF, I tried this:
IF (CHKKEY(0)) = 1 THEN
IF (GETKEY(0)) = '[027]' THEN
PROPERTY cid_pb_exit SET_ACTIVE_CONTROL 'TRUE'
ENDIF
ENDIF
RETURN
This fails; the Form terminates when I hit the [Esc] key. Using '[esc]'
also fails.
R:Syntax reports that the GETKEY function "Gets the text value, in
brackets, of the first key ..."
A "...text value, in brackets..." issue? A Syntax problem, perhaps?
Appreciate your help! Bruce
Bruce A. Chitiea
SafeSectors, Inc.
1142 S Diamond Bar Blvd # 442
Diamond Bar CA 91765-2203
[email protected]
(909) 238-9012 m
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google
Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/rbase-l/emc4ef3ec2-b9fd-4070-876d-5d9a3d6d71c4%40ceba5eea.com
<https://groups.google.com/d/msgid/rbase-l/emc4ef3ec2-b9fd-4070-876d-5d9a3d6d71c4%40ceba5eea.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google
Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/rbase-l/1437978722.4201580.1738184991806%40mail.yahoo.com
<https://groups.google.com/d/msgid/rbase-l/1437978722.4201580.1738184991806%40mail.yahoo.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/rbase-l/ema014d37f-69a2-4f78-ae77-07b7a54906f5%40ceba5eea.com.