Exiting from a FORM while pressing ESC key !
Hiiiiii !
I am using Forms 6i. Is there any way that i may exit from a form while just pressing the ESC key ?
Capri !
Message was edited by:
Capri
when you start your runform via
ifrun60.EXE myForm pa_username=myUser
you can use this parameter for your new Resource-File, which you have saved from within Oracle Terminal :
ifrun60.EXE myForm pa_username=myUser term=myTermFile.res
try it
Gerd
Similar Messages
-
Stop the Script - Pressing 'ESC' Key - Need Solutions.
Dear All,
Really I'm wondering "Press 'ESC' Key" the Script is Stopped. But OtherApplication 'EXE''s are not stopped even InDesign Plug-In also.
Is there any solutions while I'm pressing 'ESC' key the InDesign Script is automatically stopped. But I need to run the script without any interruption using this 'ESC' or other keys. I tried so many RnD's, But I didn't get any solutuions.
Please any one can knows let me know the solutions .
Please any one can give the solutions I can appreciate.
Thanks & Regards,
Harihara SudhaN.T.R.Dear Harbs & Peter Kahrel
Many thanks for this great replies.
"I should try running scripts from the palette" - Peter Kahrel.
I'm also tried so many times, but the script is stopped when I press [Interupt] the "Esc" KEY Button.
One of my friend suggested "TSR" Programming to use comment the "ESC" KEY button action, after that running the ESTK Script then finally activate the "ESC" KEY button action. [Both STOP and START the "ESC" KEY Button action though create the "TSR" programming]
1. Is it possible to Stop & Start the "ESC" KEY Button create through TSR Programming?
2. TSR Program we can use to ESTK script - is it possible?.
I dont know what exactly the "Esc" Button is doing the operation. But the same time "Esc" Button is equal to "Cancel" button functionality - Java script Reference Guide mentioned.
So what my understand in this ESTK - script is "ESC" button means "Cancel" button... I'm I right ? or else...
Many thanks once again for the favour replies and pelase Mr. Harbs and Mr.Perter Kahrel let me know some more informations regarding this issue.
I expect the detailed information regarding this issue, Please.
Thanks & Regards
Harihara SudhaN.T.R., -
ENVY Quad Laptop, Windows 8, Can't Left Click While Pressing Another Key
Hello Everyone-
I just received my new laptop last night (ENVY Quad, Windows 8 Pro, 16GB Memory, Intel 7 CPU) and I had similar issues as others while trying to play online games. I was able to go into the touchpad controls and remove the settings that stopped me from using the pad while while pressing another key.
The issue I now have is that while pressing another key to 'walk' in my online game; I cannot get a response from the pad to perform a 'left mouse click'. Essentially I can choose to use my keyboard OR click my mouse.
Also, it seems to take a moment or two to realise I stopped using my keyboard before allowing a mouse click.
Any ideas on a setting I can change to allow simultaneous Mouse-clicks and keyboard usage? or is this a defect in my system?
Thanks!I understand you are having issue with the mouse click. If you disable the pad it will stop the functions all together.
Here is a document on a TouchPad pointing device with a touch-sensitive surface.
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c03523373&lc=en&product=5363765&tmp...
Hope this helps with settings.
Thanks.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
Laptop shows "press esc key for startup menu". Wont start up normally?
Hi,
I have an hp pavillion g6 laptop (Product QE05UA#ABA, Model: g6-1c35dx)
. For a while its been causing problems, it's been slow, showing viruses, and now it wont start up.
I left it on sleep mode last night, once i opened it up today it was turned off. I figured it lost battery which usually doesnt happen, but I turned it on and it shows a blinking screen that comes on and then turns black, over and over. the blinking screen shows "press esc key for startup menu".
Also, the caps lock key blinks once when that screen comes on.
When I push "esc" it shows this:
F1 system info
F2 system diagnostics
F9 boot device options
F10 bios setup
F11 system recovery
Enter- continue startup
I've tried them all, including some tests in "bios setup"
Dont know much about computers, and this is one that i need so help is greatly appreciated.Hi @Hp222 ,
Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP Pavilion g6-1c35dx Notebook and issues with starting.
Try to turn on the computer you start to press F11 repeatedly till the menu opens. You can do a system restore. System restore will help if something automatically updated and did not go well on the Notebook. The document also gives you information on what to do if Windows does not start normally.
When performing a System restore please note remove any and all USB devices. Disconnect all non-essential devices as they can cause issues.
Thanks.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
How to close JFileChooser dialog only while using ESC key ?
Hi All,
I am using a Frame and from this frame i am calling the JFileChooser via a JButton.
and using JFileChooser ShowOpenDialog() for open and close .
while doing ESC operation my Main Frame is getting closed with JFileChooser dialog.
Can i close only JFileChooser dialog while doing ESCAPE key operation.
I Have Escape key function in Main Frame file and JFileChooser file( EscKeyEventActionIntialization)
But while debuging i am not able to catch the esc key action inside EscKeyEventActionIntialization.
I have attached the code, please suggest me , if i need to do any change .
* To change this template, choose Tools | Templates
* and open the template in the editor.
package MainPackage;
import javax.swing.filechooser.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.*;
public class SourceSettings extends javax.swing.JDialog{
JDialog dialog;
private javax.swing.JFileChooser jFileChooser1;
MainFile mainFile;
ImageIcon icon = new ImageIcon(getClass().getResource("/Resource/mchpIcon.GIF"));
/** Creates new form SourceSetting */
public SourceSettings(MainFile pMPFS) {
dialog = new JDialog();
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
mainFile = pMPFS;
jFileChooser1 = new javax.swing.JFileChooser();
dialog.add(jFileChooser1);
EscKeyEventActionIntialization();
jFileChooser1.setDialogTitle("Browse For Folder");
jFileChooser1.setFont(new java.awt.Font("Microsoft Sans Serif", 0, 11)); // NOI18N
jFileChooser1.setName("Browse For Folder"); // NOI18N
public String getDirctoryPath()
int retval = jFileChooser1.showOpenDialog(dialog);
dialog.setVisible(true);
if(retval == JFileChooser.APPROVE_OPTION)
return jFileChooser1.getSelectedFile().getAbsolutePath().toString();
else
dialog.setVisible(false);
dialog.dispose();
return null;
public String getParentDirctoryPath()
return jFileChooser1.getCurrentDirectory().getAbsolutePath().toString();
public String getOutputDirctoryPath()
if(jFileChooser1.showOpenDialog(mainMpfs) == JFileChooser.APPROVE_OPTION)
return jFileChooser1.getCurrentDirectory().getAbsolutePath().toString();
else
dialog.dispose();
return null;
private void EscKeyEventActionIntialization()
Action ESCactionListener = new AbstractAction () {
public void actionPerformed(ActionEvent actionEvent) {
dialog.setVisible(false);
dialog.dispose();
KeyStroke stroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, true);
JComponent comp = dialog.getRootPane();
comp.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(stroke, "ESCAPE");
ActionMap actionMap = comp.getActionMap();
actionMap.put("ESCAPE", ESCactionListener);
}You have a class that extends JDialog and has a JDialog member variable (very confusing), and no main(...) method. How is the class used as a JDialog?
To get better help sooner, post a SSCCE that clearly demonstrates your problem. Note that this should be executable and should not contain any extraneous code.
db -
Exit from a Form in enter_query
hi there
i have a form (form6) with a master-detail.
the 2 blocks are table-based.
when the form open, it must be in enter_query mode, so in when-new-form-instance i wrote an enter_query.
how can i manage the exit form when it's in enter_query mode?
now i should press the key-exit 2 times...
thank youHello
after few attempts (the message "query cancelled" was still appearing), i solved putting this code in the key-exit trigger of the master block
declare
msglvl varchar2(3);
begin
msglvl := :system.message_level;
:system.message_level := 20;
if :system.mode = 'ENTER-QUERY' then
exit_form(NO_VALIDATE,FULL_ROLLBACK);
end if;
:system.message_level := msglvl;
EXIT_FORM(ASK_COMMIT,FULL_ROLLBACK);
end
thank you all -
How to abort exiting from a form
Hi.
I want to popup an Alert message which ask the user if he realy want to exit the Oracle Forms application. If he press 'NO' button I want to return to the aplication.
I realize that I have to use POST-FROM triger to popup the alert message. I then don't know how to unvalidate the user exit.
Any hint / example?
Regards,
DezoYou van try this in Post-Form trigger:
DECLARE
alert_button NUMBER;
al_id Alert:= Find_Alert('your_alert');
BEGIN
Set_Alert_Property(al_id, alert_message_text,'Do you want to exit ?');
alert_button := Show_Alert(al_id);
IF alert_button=ALERT_BUTTON1 THEN
DO_KEY('Key_Exit');
ELSE
RAISE Form_Trigger_Failure;
END IF;
END; -
I am using a JDialog which disposes on pressing ESC keu, i am also using JOptionPane for
popping up some messages from this dialog. Problem is when i use the ESC key for disposing
JOptionPane my dialog is also getting disposed. I am creating dialog like
public MyDialog(Frame rootFrame)
super( rootFrame,true );
addKeyListener(new KeyAdapter()
public void keyReleased(KeyEvent e)
if ( e.getKeyCode() == KeyEvent.VK_ESCAPE)
dispose();
I am not getting the problem. Can anyone help me?
Thanks in advanceHi guys,
Perhaps you should try using e.consume() in your event handler...
Another way is to let the parent frame know, in its event handler, which is the source object from where the event originated.
something like:
// Before showing the dialog
yourDialog.setName("yourDialog");
yourDialog.setVisible(true);
// in the frame's event handler
public void keyReleased(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_ESCAPE)
Component compsource = (Component)e.getSource();
String compname = compsource.getName();
if (compname.equals("yourDialog")) {
((Dialog)compsource).dispose();
} I hope these few ideas will help!
Regards. -
How to submit a form by pressing enter key
Hi,
I'm having a problem..............i have a form having text field and a button created using struts html tags..........when user enters the value and presses the button then the value is being taken...........
but if the user enters the data and just presses enter key the form refreshaes but value is not submitted.............
the button is created using <html:submit >tag.............can any one pls help me out with this???????????<script language="JavaScript">
<!--
var isNav, isIE
if (parseInt(navigator.appVersion) >= 4) {
if (navigator.appName == "Netscape")
isNav = true
else
isIE = true
function showKeyValue(evt) {
var keyValue
if (isNav)
keyValue = evt.which
else
keyValue = window.event.keyCode
/*status = keyValue*/
if (keyValue == 13) {
javascript:validateForm();
return false
</script>
in the field call this method
onKeyPress="showKeyValue(event)" -
Won't boot from DiskWarrior CD while starting while pressing "c" key
Hello,
I am helping a friend maintain her 2008 MacBook Pro (10.5.8). Have safe-booted several times, and repaired permissions.
Since she is having minor issues, I brought over my Disk Warrior v. 4.1 (CD rev. 42) which has done wonders for other Leopard Macs.
Her MacBook Pro just refuses to boot from the Disk Warrior CD when I hold down the "c" key while re-starting. It starts as usual from its OS. This has never happened to me before. So I cannot use Disk Warrior on her comp, as far as I know.
Whenever I have used this Disk Warrior CD on mine and other 10.5.8 computers, and booted holding down "c" key, everything goes swimmingly.
Grateful if anyone can anyone offer a suggestion...
Could it be her drive, her logic board, my not re-setting PRAM on her computer? Or a total mystery?
Many thanks,
NeilYou need version 4.1.1
-
How to get a character from input stream withjout pressing RETURN key?
In C, we could use getch() form <conio.h> to get a character from the input steam without pressing the return/enter key. How could I tranlate this function for use in Java?
public static char readChar()
int charAsInt = -1; //To keep the compiler happy
try
charAsInt = System.in.read();
catch(IOException e)
System.out.println(e.getMessage());
System.out.println("Fatal error. Ending Program.");
System.exit(0);
return (char)charAsInt;
} -
Invoking a command link's action from a javascript, on pressing enter key
i have the foll java script function. on pressing enter within an input field i want a certain commandlink's action to be automatically performed:
function checkKeycode() {
alert("entered");
var keycode;
if (window.event) keycode = window.event.keyCode;
//else if (e) keycode = e.which;
if(keycode==13){
alert("keycode: " + keycode);
var x=document.getElementById("form10:link1");
alert("about to click");
x.click();
//document.forms[0].link1.click();
//if(validate('form1:_system_username,form1:_system_password','form1:_id0,form1:_id1','2'))
//alert("about to submit page");
//submitPage();
}This fn is being called from the input text as follows:
<h:inputText styleClass="inputText" id="text1" size="32" onkeypress="checkKeycode();"></h:inputText>And the code containing the command link who's action i want to be called is:
<h:commandLink styleClass="commandLink" id="link1"
action="#{pc_Test.doLink1Action1}">
<hx:graphicImageEx border="0" styleClass="graphicImageEx"
id="imageEx1" url="../../images/search.gif"></hx:graphicImageEx>
</h:commandLink>
The javascript is being entered as i get an alert saying that enter key was pressed. However it is not performing the action requried, saying that "null is null or not an object"
could sumone please help????Hi
From your javascript , it is known that this is only work in IE,
And indeed it works fine, mybe there is another button which the default in your jsp
Change your code like this:
onkeypress="return checkKeycode();"
and at end of your javascript return false when you call x.click
Message was edited by:
okoi80 -
Cannot Boot From Optical Drive By Pressing Keyboard Keys
I finally went from Leopard to Snow Leopard (SL) by doing a clean install. But I found I was not able to boot from the install disk by the normal procedure -- restarting and pressing the Option or C keys. Before the SL install, I had a volume structure problem on my HD and tried to use the Leopard install DVD to repair the drive. I was unable to do that by using the normal boot up procedure.
Any ideas on why I can't boot from the optiical drive by pressing the designated keyboard key(s)?You can load your EFI firmware from here (get the correct version!)
https://support.apple.com/kb/HT1237
And use this method to install it
https://support.apple.com/kb/HT2213
I'll admit frankly I don't know exactly what goes on in the deeper levels of Mac.
I do know this when a Mac first boots it:
1: Does a POST test, memory etc.
2: Runs hardware firmware
3: Runs EFI firmware loaded into special memory from the EFI partition (now erased in your case)
4: Boots OS X
I also know it takes two reboots to get the changes in EFI to "stick" as I've installed programs into EFI for special booting attributes.
SO what I'm thinking here is you cleared your EFI special memory by not haviing a EFI partition anymore and rebooting twice???
Perhaps your firmware wasn't installed correctly before?
I've never encountered a problem like yours, it's exceedingly rare, however Apple does offer the links above for some reason one needs to reinstall their EFI firmware, I only assume it goes into the special memory or on a new EFI partiton on the boot drive it might create.
Sorry but that's the extent of my knowledge, Lion killed my test machine so I can't replicate your issue to fix it.
I hope that assists, please get back if it worked. -
Logs out of SAP while pressing function key
Hi Experts,
I'am facing a very peculier type of problem from SAP operation point of view. Whenever I am pressing F8 or clicking on <execute> button or click on Help Document related SAP Customisation, all the SAP open windows are closing automatically and I need to log into SAP again. I've reinstalled GUI, checked all the necessary settings of my Laptop, but no reasult. Does anyone got a solution for this?
Thanks in advance/
SubhasisHi,
FM "MCV_STATISTICS_ORDER" accepts and returns many table parameters.So I guess you are calling
the function and assigning these table values which FM returns to your internal table.
If possible show how you call the function and which internal table gets filled.
regards -
Cancelling a query by pressing ESC key?
Hi all,
I want to cancel a running query by pressing the ESCAPE key in the keyboard. How to do it.??rahul0471 wrote:
Hi all,
I want to cancel a running query by pressing the ESCAPE key in the keyboard. How to do it.??There is a cancel() method in Statement that you can call.
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#cancel()
It depends on the database and the driver where the cancel() method is supported.
Maybe you are looking for
-
How can I change my facetime email address?
I set up my son's Ipod with my email address on face time and I want to do is swith it to his email account that I just recently opened.
-
Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?
-
Cost Centers & Profit Centers in PM Order Settlements
Dear All, Can anyone please explain me the exact use of following Fields in the PM Order? Additional Data Tab - Responsible CCt , Profit Center , Object Class Location Tab - Account Assignment u2013 Cost Center Settlement Rule
-
Does WLS 8.1 support JSR045?
I am using MyEclipse (www.myeclipseide.com) and would like to natively debug JSP's. For MyEclipse to natively debug JSP's Weblogic must support JSR045. Does WLS 8.1 support JSR045?
-
Can´t install Muse CC
Creative Cloud App say: there is previous beta version installed in this computer, I only have Muse CS6. Please Would you can help me?