Razzak, last evening I took some time to catch up on postings to rbase_l.  I
was two weeks behind.  Much to my delight, I discovered the "On Key Press"
enhancement.  Many of my clients are former Quickbooks users and they
frequently asked me to duplicate 'fill-in as you type" process that QB uses.
Until now, I had to tell them that I could not duplicate the process. 

As a test I modified one of my applications to make use of the new feature
and I am very impressed with the results.  I use the combination of a VAR
Edit and a DB Grid to select a customer from a list of 30,000.  Much to my
surprise, the list in the DB Grid refreshes instantaneously as you type.  I
thought there would be a delay.  It only takes a few lines of code in the
EEP to get lightning fast results.  I plan to create a proc and call this
procedure throughout my applications.

THANKS for this very useful enhancement!

John

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Monday, April 07, 2008 5:45 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Tip of the Day #4: Using "On Key Press" EEP for Instant
Results

Monday, April 7, 2008

Tip of the Day #4: Using "On Key Press" EEP for Instant Results

Section: Form Controls (DB and Variable Edit Controls)

Supported Versions:

. R:BASE 7.6 (Build 7.6.3.30404 or higher) for Windows
. R:BASE C/S:I 7.6 (Build 7.6.3.30404 or higher) for Windows
. R:BASE Turbo (Build 8.0.17.30404 or higher) for Windows

Did you know that you can use the new "On Key Press" EEP to
execute a defined code while start typing a character in DB
Edit or Variable Edit control?

Use "On Key Press" EEP, an event handler to make something
happen as a result of a single character key press.

The Key parameter in the On Key Press event handler is of type
TEXT; therefore, the On Key Press event registers the ASCII
character of the key pressed. Keys that don't correspond to an
ASCII Char value (Shift or F1, for example) don't generate an
On Key Press event. Key combinations (such as Shift+A), generate
only one On Key Press event (for this example, Shift+A results
in a Key value of "A" if Caps Lock is off).

Examples:

http://www.rupdates.com/sat2008/samples/UsingOnKeyPressEEP_01.jpg
http://www.rupdates.com/sat2008/samples/UsingOnKeyPressEEP_02.jpg
http://www.rupdates.com/sat2008/samples/UsingOnKeyPressEEP_03.jpg

A sample application to demonstrate the use of "On Key Press" EEP
is also available at:

2008 SAT Sample Applications: http://www.rupdates.com/SAT2008/

Folder: \DesigningSearchScreensUsingKeyPressOption
Database: KeyPress
Form: SearchAndEditCust2
Command File: DesigningSearchScreensUsingKeyPressOption.dat

Very Best R:egards,

Razzak.

--- 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