Cancel button doesn't cancel

Hello.
I have the following code:-
public void actionPerformed(ActionEvent e) {
          if (e.getSource() == ok)
               theType = type.getSelection().getActionCommand();
              // use the entered data
              theBid = Integer.parseInt(bid.getText());
            theName = name.getText();
          else if (e.getSource() == cancel) {
              // data entry cancelled
          dispose();
     }my problem is the cancel button doesn't actually cancel although does close the window it still submits the data.
how can i get it to destroy all data and then close the window?
many thanks in advance.
dave.

Hello,
those bits of code still don't seem to work. it ends up setting 'null' for strings and 0 for ints still when i press cancel.
here is more code to show where the data is actually used:-
GUINew.java (part of previous code):-
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class GUINew extends JDialog implements ActionListener
     private JButton ok;
     private JButton cancel;
     private ButtonGroup type;
     private JTextField bid;
     private JTextField name;
     int theBid;
     String theName;
     String theType;
     public GUINew(String sTitle, JFrame owner) {
          super (owner, sTitle, true);
          setLooknFeel();
          bid = new JTextField(4);
          name = new JTextField(14);
          ok = new JButton("Hire Boat!");
          ok.addActionListener(this);
          cancel = new JButton("Cancel");
          cancel.addActionListener(this);
          type = new ButtonGroup();
          // create each radio button, specifying its label
          JRadioButton pedal = new JRadioButton("Pedal boat");
          JRadioButton rowing = new JRadioButton("Rowing boat");
          // set a String to associate with each button
          // will use this when the radio button is selected
          pedal.setActionCommand("Pedal boat");
          rowing.setActionCommand("Rowing boat");
          type.add(pedal);
          type.add(rowing);
          JPanel top = new JPanel();
          top.add(pedal);
          top.add(rowing);
         getContentPane().add("North", top);
          JPanel center = new JPanel();
          center.add(new JLabel("Enter Boat ID:"));
          center.add(bid);
          center.add(new JLabel("Enter Name/Colour:"));
          center.add(name);
          getContentPane().add("Center", center);
          JPanel bottom = new JPanel();
          bottom.add(ok);
          bottom.add(cancel);
          getContentPane().add("South", bottom);
          pack();
     public int getBid() { return theBid; }
     public String getName() { return theName; }
     public String getType() { return theType; }
     public void actionPerformed(ActionEvent e) {
          if (e.getSource() == ok)
               theType = type.getSelection().getActionCommand();
              // use the entered data
              theBid = Integer.parseInt(bid.getText());
            theName = name.getText();
          else if (e.getSource() == cancel) {
              this.dispose();//will release memory
               this.setVisible(false);//will hide the window
          dispose();
     // windows look and feel settings
     private void setLooknFeel() {
        String lookAndFeel = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
        try {
            UIManager.setLookAndFeel(lookAndFeel);
        catch (Exception e) {
            e.printStackTrace();
}Main.java - where the data is used:-
else if (e.getSource() == mtOne) { // add new boat
               GUINew newb = new GUINew("Add a new boat", this);
               newb.setVisible(true);
               if(newb.getType() == "Rowing Boat") {
                    octagon.addBoat(new RowingBoat(newb.getName(), newb.getBid()), newb.getBid(), textarea, title);
               else {
                    octagon.addBoat(new PedalBoat(newb.getName(), newb.getBid()), newb.getBid(), textarea, title);
          }at the moment when i click cancel it submits getName as Null and getBid and 0.
Thanks
Dave.

Similar Messages

  • Cancel button doesn't 'cancel' - or?

    This is bound to be a stupid beginners' question, but I have asked stupid questions before and got good and useful answers, so here goes :-)
    I have gone through the hands-on workshops, and there's only one thing I can't get to work as described: The cancel button. The scenario is that I start from the 'Browse Customers' page, go to Edit Customers, change the first name and press cancel - I had expected the changes to have been discarded, but they are carried back to the 'Browse Customers' page. Admittedly, in SQLPlus I can see that it isn't in the table, but still... (Commit works fine, BTW). Is there something I need to set/unset somewhere?

    Jandersen,
    Good question - not stupid at all. I'm guessing that you have the Cancel button bound to a navigation case that takes you back to the "Browse Customers" page, correct? That, in and of itself, will actually post the changes to the model and then navigate back. The first thing I would try is setting the "immediate" property to "true" for the cancel button - this will avoid posting the changes to the model.
    John

  • How can I cancel an email..cancel button doesn't work

    I have a blank email open and cannot close it..cancel button doesn't work. How can I get rid of it

    Sleep/Wake button
    http://i1224.photobucket.com/albums/ee374/Diavonex/00bf6eae.jpg

  • I'm installing Creative Cloud on a MAC OSX 10.6.8   I have the 'installing window' displaying that it is about 95% complete but hasn't moved in 30 minutes; cannot quit it either...cancel button doesn't work, can't esc. What's up?

    I'm installing Creative Cloud on a MAC OSX 10.6.8   I have the 'installing window' displaying that it is about 95% complete but hasn't moved in 30 minutes; cannot quit it either...cancel button doesn't work, can't esc. What's up?

    I'm installing Creative Cloud on a MAC OSX 10.6.8
    You'll have to upgrade your operating system first.
    Most, if not all, Cloud apps require at least OS X 10.7.

  • Cancel button doesn't always cancel

    Sometimes, when I hit the red X cancel button in PL/SQL Developer it doesn't cancel the process.
    The DBA is getting tired of me asking for the process to be stopped.
    How can I avoid causing this problem and how can I cancel the process without involving my DBA?
    It seems to happen in a procedure loop.
    I'm a PL/SQL newbie.
    Thanks, bobh

    The command to use it
    alter system kill session 'session-id,session-serial'But first check if you have the rights to do that.

  • SRDemo sample app - cancel button doesn't work correctly - how to fix?

    Hello all,
    I posted a question about this earlier, but didn't receive any response. I see that the new SR Demo app with jdeveloper 10.1.3 has the same problem, so I thought I'd re-post. Basically, the "Cancel" buttons don't work in web pages based on ADF.
    To re-create the problem:
    1). Run the SR Demo.
    2). Sign in as sking/welcome
    3). Navigate to "My Service Requests"
    4). Select request # 111 and View
    5). Click the Edit button
    6). Change the problem text to "Cancel doesnt work"
    7). Click the Cancel button
    You are now on the view page for the SR again. Even though you have clicked the cancel button, the problem text has been changed to "Cancel doesnt work" If you re-edit the request, the text has magically reverted.
    I see this as a pervasive issue in the ADF framework - what is the correct way to handle it?
    Kind regards,
    John

    John,
    Quick testing just now suggests that you can fix this issue in the EJB/Toplink version of the SRDemoSample by setting the "Immediate" property of the cancel button to "true".
    I'm not able to reproduce this in the SRDemoSample using ADFBC that is available in early-access release from here:
    http://www.oracle.com/technology/documentation/jdev/B25947_01/index.html
    This version has the cancel button marked as Immediate="true", so I think that should do th e trick.

  • Drag drop and ProgressBar cancel button

    Hi,
    I have a class that extends CDragDropTargetFlavorHelper, during ProcessDragDropCommand I want to show a ProgressBar (the code that does this is actually in another, model only, plugin - might be significant), however, though the progress bar shows the cancel button doesn't.  Unless I delay the processing until after the drop is complete by scheduling the command - if I either process the command or schedule and process scheduled commands the cancel button doesn't show.
    Scheduling the command gives a bit of a delay to the user (even with highest priority) and also no ability to feedback 'drop failed'.  So I'd like to:
    - preferably get the cancel button to show without scheduling the command
    - know immediately when a drop has been completed and process scheduled commands.
    Thanks in advance
    Ian

    Thanks Ned,
    I have since been continuing to research this and it would seem that implementing the HitTest could be the way to go. If anyone has any experience or advice to support this I would be grateful.
    Regards
    Chris

  • ADF Dialog Framework Cancel Button

    Hi all,
    We're experiencing, in multiple applications, a problem with a Cancel button (immediate="true") on a page launched by the dialog framework. While the value does not change in the model layer (saving to the database confirms this), it does seem to appear in the application UI, even after clicking the cancel button, until you post data.
    Details follow:
    This code is all JHS-generated, but we've spoken to Steven Davelaar, and he's pretty sure it's not a JHS problem. I certainly can't see anything obviously wrong with the code.
    Here's the component that launches the dialog, minus attributes like "rows" and "columns":
    <af:panelLabelAndMessage label="MIS Notes: "
        id="RpReportDocHeaderVwMisNotesLabel">
        <af:inputText id="SomeAttr" value="#{bindings.SomeAttr.inputValue}"
            required="#{bindings.SomeAttr.mandatory}"
            simple="true" partialTriggers="SomeAttrEditorLink"
            binding="#{SomeAttrEditorItem.editorItem}">
        </af:inputText> 
        <f:facet name="end">
            <af:commandLink id="SomeAttrEditorLink"
                action="dialog:editor" immediate="true" useWindow="true"                           
                partialSubmit="true" windowHeight="320" windowWidth="670"
                returnListener="#{SomeAttrEditorItem.returnedFromEditor}"
                launchListener="#{SomeAttrEditorItem.launchEditor}">
                <af:objectImage source="/jheadstart/images/editor.gif"/>
            </af:commandLink>
        </f:facet>
    </af:panelLabelAndMessage />The editor window, minus layout, form, etc. elements, is as follows:
    <af:inputText rows="10" columns="100"
        value="#{processScope.editorValue}"
        maximumLength=
            "#{processScope.editorMaxLength==0 ? null : processScope.editorMaxLength}" />
    <af:panelButtonBar>
        <af:commandButton text="Cancel" immediate="true">
            <af:returnActionListener/>
        </af:commandButton>
        <af:commandButton text="OK">
            <af:returnActionListener value="#{processScope.editorValue}"/>
        </af:commandButton>
    </af:panelButtonBar>Now, SomeAttrEditorItem is a managed bean of type oracle.jheadstart.controller.jsf.bean.EditorItemBean, so it's JHS code, but nothing about it should really matter if the returnActionListener for the Cancel button doesn't contain a value and is immediate, should it?
    Any help much appreciated. Thanks much,
    Avrom

    Thanks, Frank. This looks like a JHS bug (albeit one we can work around by writing our own template)--JHS should probably not be generating code that leaves cancelled changes in place. I'll notify them on their forum.
    [Edit:] Actually, there's something I don't understand about the instructions. In a case like this, I really only want to undo changes to a particular attribute--whatever attribute the dialog changed. And ideally, I don't want to refresh to the last pre-commit point; I want to just discard the changes that were made by this particular dialog. So I don't really think Row.refresh() is going to work here.
    Now, I could do something like this: In the launch listener, store the relevant attribute in some transient location, and on return, refresh it. But that seems overly complicated; isn't there a way to just not submit a dialog's values upon returning to the original form, or, at least, to prevent them from updating the model?
    Message was edited by:
    Avrom
    [Further edit:] Wait, no, there's something even stranger going on here. Note that the text input in the dialog isn't bound to "#{bindings.SomeAttr.inputValue}"; it's bound to "#{processScope.editorValue}". And the cancel button doesn't even have a returnActionListener! So how is the value getting passed back to the original form?
    Message was edited by:
    Avrom

  • I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue?

    I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue? Is there a work around? I have done this app twice and still cant get the exit to except the Cancel or Done  bar buttons

    Yes I checked it.  As far as I can see I did everything Apple said to do.  I took some screen shot so you can see how the screens are connected and what and where the code is, and what it does when I drag the cancel and done bar buttons to the exit

  • How to change the behaviour of the Cancel-Button of SSO-Login-Page (Forms)?

    Hi Folks,
    we use SSO-Login to authenticate users using Forms. How do I change the URL which is opened when a user clicks on the cancel button on the SSO Login page?
    In the formsweg.cfg file there is a parameter named ssoCancelUrl, but if I define it, it doesn't work anyway. Seems like it has something to do with ssoDynamicResourceCreate, but I don't exactly understand what.
    Can't I simply change the URL which is opened (globally), when a user hits the cancel button on any SSO-Loginpage.
    Thanks in advance.
    Regards.

    Exactly this does not work! Please watch my settings:
    Global Setting in formsweb.cfg
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=false
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    App-Specific settings in formsweb.cfg
    [proz]
    envFile=proz.env
    form=proz.fmx
    title=proz
    separateFrame=true
    width=1280
    height=960
    ssoMode=true
    ssoDynamicResourceCreate=false
    ssoCancelURL=http://machinename:port/zugangsportal/
    otherparams=useSDI=yes P_SERVER_URL=machinename:port P_REP_SERVERNAME=machinename_proz ZP_TARGET_ID=%ZP_TARGET_ID%
    When I now access http://machinename:port/forms/frmservlet?config=proz I got redirected to the SSO-Login-Page but the Cancel-Button still links to Middletier Home. Why?
    Regards.

  • How do I create an input box with a cancel button that will end a loop in my script?

    I have been working on a script for my client and I am having trouble getting it to work properly. I stole most of the code from the PowerShell Tip of the Week "Creating a Custom Input Box". I also took someone's code for the Show-MessageBox function.
    I have slightly modified the original code with two parameters and an additional text box. The first field is for an e-mail address and the second is for an employee number.
    I need to know how I can get a Do Until loop to recognize when the cancel button is pushed and break the loop and effectively end the script. The work happens at the end but perhaps I need something added/modified in the InputBox function.
    I want the script to check to see if anything has been entered in the second text box. If empty it displays a message and calls the InputBox function again. Then if there is something I use elseif to check to see if it matches my RegEx (digits only). If
    it doesn't match it will loop and call the InputBox function again.
    This all works fine. The problem I am having is that I cannot cancel out of the form. I'd like the loop to continue until the second box matches my RegEx or Cancel is clicked. Clicking cancel doesn't break the loop. I need to know how I can stop the loop
    when cancel is pressed. I've seen Stack "Overflow: PowerShell Cancel Button Stop Script" but I don't think this will work in a loop.
    Any help would be awesome. As a note, I DO NOT want to use the VB Interaction stuff.
    function InputBox {
    param ($Name,$EN)
    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")
    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
    $objForm = New-Object System.Windows.Forms.Form
    $objForm.Text = "Data Entry Form"
    $objForm.Size = New-Object System.Drawing.Size(300,200)
    $objForm.StartPosition = "CenterScreen"
    $objForm.KeyPreview = $True
    $objForm.Add_KeyDown({if ($_.KeyCode -eq "Enter")
    {$x=$objTextBox.Text;$objForm.Close()}})
    $objForm.Add_KeyDown({if ($_.KeyCode -eq "Escape")
    {$objForm.Close()}})
    $OKButton = New-Object System.Windows.Forms.Button
    $OKButton.Location = New-Object System.Drawing.Size(75,120)
    $OKButton.Size = New-Object System.Drawing.Size(75,23)
    $OKButton.Text = "OK"
    $OKButton.Add_Click({$objForm.Close()})
    $objForm.Controls.Add($OKButton)
    $CancelButton = New-Object System.Windows.Forms.Button
    $CancelButton.Location = New-Object System.Drawing.Size(150,120)
    $CancelButton.Size = New-Object System.Drawing.Size(75,23)
    $CancelButton.Text = "Cancel"
    $CancelButton.Add_Click({$objForm.Close()})
    $objForm.Controls.Add($CancelButton)
    $objLabel = New-Object System.Windows.Forms.Label
    $objLabel.Location = New-Object System.Drawing.Size(10,20)
    $objLabel.Size = New-Object System.Drawing.Size(280,20)
    $objLabel.Text = "Employee Email Address:"
    $objForm.Controls.Add($objLabel)
    $objTextBox = New-Object System.Windows.Forms.TextBox
    $objTextBox.Location = New-Object System.Drawing.Size(10,40)
    $objTextBox.Size = New-Object System.Drawing.Size(260,20)
    if ($Name) {
    $objTextBox.Text = $Name
    else {
    $objTextBox.Text = "@domain.com"
    $objLabel2 = New-Object System.Windows.Forms.Label
    $objLabel2.Location = New-Object System.Drawing.Size(10,70)
    $objLabel2.Size = New-Object System.Drawing.Size(280,20)
    $objLabel2.Text = "Employee Number:"
    $objForm.Controls.Add($objLabel2)
    $objTextBox2 = New-Object System.Windows.Forms.TextBox
    $objTextBox2.Location = New-Object System.Drawing.Size(10,90)
    $objTextBox2.Size = New-Object System.Drawing.Size(260,20)
    $objForm.Controls.Add($objTextBox)
    $objForm.Controls.Add($objTextBox2)
    $objForm.Topmost = $True
    $objForm.Add_Shown({$objForm.Activate()})
    [void] $objForm.ShowDialog()
    $Script:ButtonName = $objTextBox.Text
    $script:ButtonEN =$objTextBox2.Text
    $ButtonName; $ButtonEN
    Function Show-MessageBox{
    Param(
    [Parameter(Mandatory=$True)][Alias('M')][String]$Msg,
    [Parameter(Mandatory=$False)][Alias('T')][String]$Title = "",
    [Parameter(Mandatory=$False)][Alias('OC')][Switch]$OkCancel,
    [Parameter(Mandatory=$False)][Alias('OCI')][Switch]$AbortRetryIgnore,
    [Parameter(Mandatory=$False)][Alias('YNC')][Switch]$YesNoCancel,
    [Parameter(Mandatory=$False)][Alias('YN')][Switch]$YesNo,
    [Parameter(Mandatory=$False)][Alias('RC')][Switch]$RetryCancel,
    [Parameter(Mandatory=$False)][Alias('C')][Switch]$Critical,
    [Parameter(Mandatory=$False)][Alias('Q')][Switch]$Question,
    [Parameter(Mandatory=$False)][Alias('W')][Switch]$Warning,
    [Parameter(Mandatory=$False)][Alias('I')][Switch]$Informational)
    #Set Message Box Style
    IF($OkCancel){$Type = 1}
    Elseif($AbortRetryIgnore){$Type = 2}
    Elseif($YesNoCancel){$Type = 3}
    Elseif($YesNo){$Type = 4}
    Elseif($RetryCancel){$Type = 5}
    Else{$Type = 0}
    #Set Message box Icon
    If($Critical){$Icon = 16}
    ElseIf($Question){$Icon = 32}
    Elseif($Warning){$Icon = 48}
    Elseif($Informational){$Icon = 64}
    Else{$Icon = 0}
    #Loads the WinForm Assembly, Out-Null hides the message while loading.
    [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | Out-Null
    #Display the message with input
    $Answer = [System.Windows.Forms.MessageBox]::Show($MSG , $TITLE, $Type, $Icon)
    #Return Answer
    Return $Answer
    $num = "^\d+$"
    do {
    if (!($ButtonEN)) {
    Show-MessageBox -Msg "You must enter a numeric value for the employee number." -Title "Employee Number Missing" -Critical
    InputBox -Name $ButtonName
    elseif ($ButtonEN -notmatch $num) {
    Show-MessageBox -Msg "The employee number must contain numbers only!" -Title "Non-numerical characters found" -Critical
    InputBox -Name $ButtonName
    until ( ($ButtonEN -match $num) -or (<this is where I want to be able to use the cancel button>)

    Here is a simple validation method.
    function New-InputBox{
    param(
    $EmailAddress='',
    $EmployeeNumber=''
    Add-Type -AssemblyName System.Windows.Forms
    $Form=New-Object System.Windows.Forms.Form
    $Form.Text='Data Entry Form'
    $Form.Size='300,200'
    $Form.StartPosition='CenterScreen'
    $OKButton=New-Object System.Windows.Forms.Button
    $OKButton.Location='75,120'
    $OKButton.Size='75,23'
    $OKButton.Text='OK'
    $OKButton.DialogResult='Ok'
    $OKButton.CausesValidation=$true
    $Form.Controls.Add($OKButton)
    $CancelButton = New-Object System.Windows.Forms.Button
    $CancelButton.Location = New-Object System.Drawing.Size(150,120)
    $CancelButton.Size = New-Object System.Drawing.Size(75,23)
    $CancelButton.Text ='Cancel'
    $CancelButton.DialogResult='Cancel'
    $CancelButton.CausesValidation=$false
    $Form.Controls.Add($CancelButton)
    $Label1=New-Object System.Windows.Forms.Label
    $Label1.Location='10,20'
    $Label1.Size='280,20'
    $Label1.Text='Employee Email Address:'
    $Form.Controls.Add($Label1)
    $TextBox1=New-Object System.Windows.Forms.TextBox
    $TextBox1.Location='10,40'
    $TextBox1.Size='260,20'
    $textbox1.Name='EmailAddress'
    $textbox1.Text=$EmailAddress
    $Form.Controls.Add($textbox1)
    $Label2=New-Object System.Windows.Forms.Label
    $Label2.Location='10,70'
    $Label2.Size='280,20'
    $Label2.Text='Employee Number:'
    $Form.Controls.Add($Label2)
    $TextBox2=New-Object System.Windows.Forms.TextBox
    $TextBox2.Location='10,90'
    $TextBox2.Size='260,20'
    $TextBox2.Name='EmployeeNumber'
    $TextBox2.Text=$EmployeeNumber
    $Form.Controls.Add($TextBox2)
    $Form.AcceptButton=$OKButton
    $Form.CancelButton=$CancelButton
    $Form.Topmost = $True
    $form1_FormClosing=[System.Windows.Forms.FormClosingEventHandler]{
    if($Form.DialogResult -eq 'OK'){
    if($textbox1.Text -eq ''){
    [void][System.Windows.Forms.MessageBox]::Show('please enter an email address','Validation Error')
    $_.Cancel=$true
    }else{
    # Check empno is all digits
    if("$($TextBox2.Text)" -notmatch '^\d+$'){
    [void][System.Windows.Forms.MessageBox]::Show('please enter a number "999999"','Validation Error')
    $_.Cancel=$true
    $form.add_FormClosing($form1_FormClosing)
    $Form.Add_Shown({$Form.Activate()})
    if($Form.ShowDialog() -eq 'Ok'){
    # return the form contents
    $Form
    if($f=New-InputBox -EmailAddress [email protected]){
    'Email is:{0} for Employee:{1}' -f $f.Controls['EmailAddress'].Text,$f.Controls['EmployeeNumber'].Text
    }else{
    Write-Host 'From cancelled!' -ForegroundColor red
    ¯\_(ツ)_/¯

  • Data loss popup for cancel button on overview page

    Hi Experts,
    Data loss popup generally appears on UI, when i try to navigate with out saving the changes. This is a standard SAP behaviour.
    But, i come across the requirement where this data loss popup should also appear on clicking the 'Cancel' button on overview page on UI.
    I understood that, this popup will be triggered by the methods ON_BEFORE_WA_CONTENT_CHANGE & IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT of the window impl class.
    Please suggest how can i make this popup work in case of Cancel button as well.
    Thanks....

    Hi bkvs,
    Usually when you click the "Cancel" button that means you don't want to save your entry... hence displaying the dataloss popup doesn't make really sense to me. However, you may want the user to confirm that he really wants to cancel.
    So I would suggest to redefine the EH_ON_CANCEL method of your view, to display a simple confirmation popup before you actually cancel everything. This wiki will show you how to do it:
    Creating popup message in webclient UI - CRM - SCN Wiki
    Regards,
    Nicolas.

  • Windows 7 Only Cancel Button at Clt+Alt+Del After 6500 Driver is Installed

    Hi,
    We have a fleet of X201 Tablet Laptops and We use the HP Officejet 6500 Printer.
    As soon as version 14.00 of the driver is installed on these machines upon restart rather than a username to click onto to login at Clt+Alt+Del a cancel button is displayed.
    The only work around we have found is to rebuild the laptop and then install an earlier version of the 6500 driver.
    What is causing this and how do we fix it as some users are installing the latest driver themselfs and breaking the laptops.

    The same thing is happening all over the hp forums.  People are updating printer drivers and then the printer doesn't work. Or some functions are taken away.  I have an hp 4280 printer and I'm still using the driver from when I first installed it. Every time hp wants to update, I say no. Mine still works perfect.  There have been 4 updated drivers since my version.
    It's not Lenovo and it's not your machine. It's hp's buggy drivers.
    T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    If someone helped you today, pay it forward. Help Someone Else!
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • LOV cancel button displays 'No Data Found'

    I have 5 fields on a form where the users can search different information based on what they type into the search fields. Once they have their search criteria they hit a 'Search' button, I have a when_button_pressed button trigger on the search button. On this trigger I have logic to build a record group dynamically, after the RG gets populated dynamically I am using the SHOW_LOV bulit-in to present my LOV to the end user. All this works well, however, there is a new requirement in where the client wants a 'no data found' message displayed on the screen when users type arbitrary/invalid information on any of the search fields. I was able to accomplish this by simply putting the following code in the ELSE part of my main IF statement for my LOV.
    ELSE
         IF NOT SHOW_LOV('LIAB_LST_LOV')THEN
              display_message('No Data Found');
              END IF;
    END;
    The code above displays the message they want to see when search users search on invalid criteria. So finally, here is the issue, when they search on VALID criteria the LOV obviously pops up without any issues but if users click the 'Cancel' button in the LOV window they get the 'No Data Found' message above too. They only want to see the message if there is invalid data searched.
    How can I make sure that after the LOV gets populated my code doesn't return the No Data Found message when they press Cancel on the LOV?
    Thanks,
    Adrian

    Hi Francois,
    I used the get_group_row_count you suggested and I was able to incorporate it into my code without any issues and more importantly it is working now! This is what I did, after populating the record group, I checked to see if the row count was greater than 0 for the RG if it was not then I’m displaying the message. It is working correctly.
    Thank you!
    Adrian

  • NO data change message during CANCEL button of ME52N

    Hi Gurus,
    When i do changes in ME52n then press save button i get error message. Then i press CANCEL button, instead of going to screen 0 it gives an information message ''No Data Change' which i dont want.
    Please give your suggestions.
    Regards,
    Milind

    has someone added an enhancement or exit coding?  Doesn't sound like standard SAP....sounds like error in someone's PF Status handling code.

Maybe you are looking for

  • TC with 6 different IP addresses

    Hi, I am subscribed to a business DSL package and so I have been given 6 static IP addresses. I would like to assign these amongst the machines on my home network (2 Macs and 1 XBox 360) so that each device has a separate IP address. I'm doing this t

  • Tree view display along with icons

    Hi all        Anybody please give me the complete code to display the tree view which takes input from selection screen.I also need to display icons in the tree view.please help its urgent. Thank you. Regards Giri

  • How are +Cleared+ Outbound Vendor Cheques / Checks reconciled in SAP?

    Hello, We get a cheque Cleared file from our bank everyday. in txt format. The file contains details of all the CLEARED cheques on that day. Since we have approx 10 checkign accounts at same bank branch, the file contains list of cleared cheques from

  • Transaction sets in a batched edi file

    Hi, I received a batched EDI file with multiple transaction set. How can I identify the number of transactions in this file? Do I look at the GE01? Christiane

  • How can i download premiere elements 10 and not 11?

    how can i download premiere elements 10 and not 11?