Home » Developer & Programmer » Forms » Hot key to switch between open forms (Oracle forms 10g)
Hot key to switch between open forms [message #633636] Mon, 23 February 2015 09:48 Go to next message
brown_zzz
Messages: 35
Registered: August 2012
Location: United Kingdom
Member
I need to map a hotkey to enable the user to switch between all the open forms within a single internet explorer window (a bit like how alt-tab works for windows). Is there a default key to do this or any way to set this up?

Many thanks.
Re: Hot key to switch between open forms [message #633773 is a reply to message #633636] Tue, 24 February 2015 09:41 Go to previous messageGo to next message
CraigB
Messages: 386
Registered: August 2014
Location: Utah, USA
Senior Member
First, Oracle Forms doesn't keep track of all of the open forms the way Windows keeps track of open applications. Therefore, you would have to create a method to keep track of the open forms in a user's session. Also, if a user opens the same form more than once, you have to keep track of this as well otherwise you won't know which instance of the opened form the user wants to navigate too. After that, you would have to build a method to display the list of open Forms and you would have to modify each of your Forms to implement this method. Rather than a Hot Key, it might be better to implement a Key-F(n) trigger and using an F-Key as the hot-key instead of a combination of keys like Ctrl+C (Copy).

All of this is do-able. You might have to create your own version of the OPEN_FORM and CALL_FORM built-ins which adds your form to the Stack of open forms and then replace all of your calls to these built-ins with your version. You will also need a generic method that removes a form from the stack when a Form is closed which means you need your own version of the CLOSE_FORM and EXIT_FORM built-ins and of course, you will need to replace all calls to the Forms built-ins with your own versions. Also, you will need to enforce a programming standard that all developers use your versions of these methods instead of the native built-ins. It is a lot of work, but I can see the benefit if you have a large multi-form application and need to bounce between instances of open forms.

Just my thoughts...

Craig...
Re: Hot key to switch between open forms [message #633943 is a reply to message #633773] Sat, 28 February 2015 14:04 Go to previous message
bluetooth420
Messages: 145
Registered: November 2011
Senior Member
Here is key which works on chrome (check it might work on IE)

Press ctrl+1 or ctrl+2 or so on

Previous Topic: android application oracle
Next Topic: How to restrict user not to enter duplicate Record?
Goto Forum:
  


Current Time: Fri Aug 14 20:13:14 CDT 2020