Bamm! Look for an important update on 8/21!
-----Original Message----- From: "A. Razzak Memon" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Wed, 06 Aug 2014 15:31:40 -0400 Subject: [RBASE-L] - Re: how to trap function keys in a form At 10:02 AM 8/5/2014, rehan wyne wrote: >Can anyone help, how to trap function keys like F1,F2,F3,... in a form? >My basic idea is to run a user defined form action or call another form >when a application user press a specific function key in the form. >In other words, I want to over ride the built-in functionality of >function keys provided by R:Base. Rehan, Here's how ... 01. Start R:BASE eXtreme 9.5 (32/64), Build: 9.5.4.30821 or higher ... 02. CONNect the database and open the form in Form designer ... For Example: RRBYW18 > Forms > SalesTransactions > Design ... www.razzak.com/tips/DefiningFormShortcutKeys_01.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_01.jpg] 03. Now define a Custom Form Action (procedure) that will be assigned a Shortcut Key, such as [F12] to print report. www.razzak.com/tips/DefiningFormShortcutKeys_02.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_02.jpg] www.razzak.com/tips/DefiningFormShortcutKeys_03.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_03.jpg] 04. Once the Custom Form Action is defined, right-click and select the Shortcut Key www.razzak.com/tips/DefiningFormShortcutKeys_04.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_04.jpg] 05. Press any key or key combination to assign Shortcut Key www.razzak.com/tips/DefiningFormShortcutKeys_05.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_05.jpg] 06. Let's assign [F12] key by simply pressing on the [F12] key www.razzak.com/tips/DefiningFormShortcutKeys_06.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_06.jpg] Click on [OK] button to save Notice the Shortcut Key assigned to Custom Form Action 07. Close the Custom Form Action Designer 08. Preview the Form and then press [F12] key www.razzak.com/tips/DefiningFormShortcutKeys_07.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_07.jpg] www.razzak.com/tips/DefiningFormShortcutKeys_08.jpg [http://www.razzak.com/tips/DefiningFormShortcutKeys_08.jpg] Notice the YTD Sales Summary Report .... How cool is that? Very Best R:egards, Razzak. www.rbase.com [http://www.rbase.com/] www.facebook.com/rbase [http://www.facebook.com/rbase] -- 31 years of continuous innovation! 16 Years of R:BASE Technologies, Inc. making R:BASE what it is today! --

