At 03:43 PM 8/6/2014, Kenshap wrote:
That enhancement is eXtremely cool.
Thanks to Rehan for his excellent idea and Mike Byerley for his mentorship and challenging the R:Dream Team, as always! Very Best R:egards, Razzak.
> On Aug 6, 2014, at 3:31 PM, "A. Razzak Memon" <[email protected]> wrote: > > 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 > > 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 > 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 > > 05. Press any key or key combination to assign Shortcut Key > > 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 > > 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 > > 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 > www.facebook.com/rbase > -- > 31 years of continuous innovation! > 16 Years of R:BASE Technologies, Inc. making R:BASE what it is today! > -- > >

