Disabling a push button when pressing it....

Hi,
I want to disable a push button when pressing it (to be more specific as the last command to be executed ...).
Although the syntax ... the name of push button ...e.t.c. , i've written are correct:
set_item_property('test.psh_button',enabled,property_false);
the error message that arises is :ORA-06502
when i comment out this line the source code is executed without any errors.....
Can you think of another way to accomplish this requirement...????
Note: i use Dev/2000 v.6i with patch12
Thanks,
Sim

hi Sim,
the two tryouts where just to testout the error, not a real solution. My guess was that this error FRM-41032 also occurs in your "real" form, this would cause the ON-ERROR-trigger to fire, and perhaps for some reason your ORA-06502 occurs somewhere in ON-ERROR. So if you've set both navigable-properties to false and the error would be away, that would have been an check on this.
The second one was just to check if the SET_ITEM_PROPERTY-code would work separated from the other logic you have in your WHEN-BUTTON-PRESSED. But what you could try in your real code: do a GO_ITEM('some visible and navigable item'); and then issue the SET_ITEM_PROPERTY.
perhaps you can try when you have access to the sources again.
Andreas

Similar Messages

  • Before the selector value reach a Case structure I need to stop it until a push button is pressed. How to do?

    Before the selector value reach a Case structure I need to stop it until a push button is pressed. How to do?

    altenbach wrote:
    UliB wrote:
    simply wire your selector value through a while loop. Stop the loop with your button. After the loop stops, the value will go on to the case structure.
    Hmmmm.....
    Hello altenbach,
    roflol .
    Thank you for the link to 'A Field Guide To LabVIEW Objects - Selfish Loop'. I'll keep that in mind, when answering other questions with while loops.
    Uli

  • Is it possible to disable the play button when exporting to exe or app files?

    Is it possible to disable the play button when exporting to exe or app files? Can the app just boot up without the playbutton?

    Are you talking about auto play option or the play button on Playbar?
    I just checked the EXE ran fine without requiring any play button to start as per my settings.
    Is this waht you are looking to achieve?
    Thanks,
    Anjaneai

  • Disable the approve button when ever nonapprover login

    Hi Friends,
    i want to disable the approve button , when ever non approvers login into that requisitions page. please let me know, how to do. only approvers will have to see that approve button. can we achieve through OAF personalizations or Extensions.
    Thanks
    vamshi.

    Hi,
    You can extend the Controller of that page and in extended controller on page load
    Capture the Requistion details and valid approvers from a Prepared Statement.
    Then match the Approvers with the Login user name (pageContext.getUserName())
    If the user name is not there in the valid approvers then set the disabled property of button to true,
    bean.setDiasbled(true);
    Thanks,
    Gaurav

  • Can I execute a Button when pressing "Enter" in an InputField?

    Hi All,
    I have an InputField and next to the InputField, there is a Button.
    Ii would like to have my application executing the Button when the User presses the "Enter/ Return" Button on his keyboard.
    Is that possible? If yes, how??
    Thanks, Johannes

    Hi,
    You can try using OnEnter property of the Input field for your requirement. Assign a method to the onEnter property of the input field and now when the user fills data in the field and press enter the method assigned will be executed.
    Thanks,
    Abhishek

  • Buttons when pressed twice - HELP

    On my test site www.pullman.co.nz/dda/test/index I have a
    flash site with a menu top left. If i press the same button twice
    in a row it does not go tot he correct fame - i.e. when the images
    button is pressed it goes to the frame "images" but when you press
    it again when it is already on the "images" frame it goes to the
    frame "intro". Any help would be appreciated.
    D

    Well if you have an images button in the images page and you
    still want the images button to go to the images page you need to
    go to the action script and tell it to go to the propper frame. If
    the images page is on the second frame you need to put:
    on (release) {gotoAndStop(2);
    this will make that button go to the second frame. AKA the
    images page. You must also give the same code to each of the images
    buttons. If you have any more problems let me knew. <3

  • How to set default button when press "Enter"

    Hi,
    I have a form and it has only one button (Submit). When I press "Enter", it can submit the form and do the action. However, when I add another button (Normal button, not submit), it cannot perform submit action directly when I press "Enter".
    If we press "Enter" and the form can submit automatically, it is more user-friendly than without this feature. Therefore, may I know the method of set the default button when users press "Enter"?

    At first I thought the order of the form controls might matter.  When I run this code:
    <cfdump var="#GetTickCount()#">
    <form action="TestCfgrid.cfm" method="post">
    <input name="x" type="text" />
    <input type="button" value="x" />
    <input type="submit" />
    </form>
    While I am in the text box, if I press the enter key the form submits.  I originally tried it with the submit and button inputs in the opposite order.
    Note that the enter button will not submit the form if you are in a select control (aka dropdown) or a textarea or if your focus is not on a form element.  That's the default behaviour.  If you want to override that, you'll have to write some javascript.

  • How to disable the back button when displaying a form

    Hi ,
    i have form A calling form B, when form B is displayed i want to disable the
    back button in the explorer so as not to allow the user from going back to
    form A.
    thanks.

    When you open a new window, call following javascript function also to disable the "back" button.
    window.history.forward(1);
    It will work.

  • Disable 3D Push Button Effect

    Hello friends,
    I'm using Form 6 and I'd like to know if there is a way to disable the 3D effect on Push Button.
    I want to use plain buttons in my personal toolbar... Somebody knows how to disable the 3D effect or if there's another way to do this?
    Regards,
    Renato.

    I think you cannot do that,
    Buttons in Forms 6i are Windows-dependent ( you have to modify Windows environmnet)
    Regards
    Message was edited by:
    Rosario Vigilante

  • Pushing a button when pressing on Tab

    Hey
    Im trying to create in my page (jdeveloper version 11.2)
    that when i move to another Tab a button will be pressed
    Do you know how to do that?

    Hi,
    in the showDetailItem disclosure listener invoke the button's action
    refer this
    disclosureListener of af:showDetailItem Invoking Method Twice
    http://mjabr.wordpress.com/2011/05/20/invoke-buttons-action-programatically-in-java/
    ~Abhijit

  • Trigg the 'Query' button when pressing 'Enter' on the keyboard

    I have a form with 2 buttons, 'query' and 'reset'.
    I would like that the 'query' button is triggerd (pressed) when the user presses 'Enter' on the keyboard. In regular html I think this is accomplished if the button is a 'submit' rather than a 'button' type, but I haven`t found a way to edit the
    type of button in Portal.
    Users belive it`s very annoying to have to move the mouse over the 'query' button to execute the query, and would rather like to just press 'Enter'.
    I`ve tried to use a javascript (onKeyPress), but if you make a javascript in Portal, you`re not allowed to add this to your button, only as an 'form-' or 'field validation' in a textbox.
    Is there anyone who knows a way to get this functionality?
    Regards,
    Orjan

    One of the AVG add-ons for Firefox has been reported to cause that to happen. Disable that add-on until AVG fixes it.

  • Disable sending HTML-Form when pressing Enter from Web Transaction

    Hi,
    I have a web transaction and the corresponding HTML Template.
    In the template I have a form with input fields and a submit button.
    <FORM METHOD="post" ACTION="`wgateurl()`">
    <TD><INPUT TYPE="text" NAME="GWA_HEAD-PROFIT_CENTER" VALUE="`GWA_HEAD-PROFIT_CENTER`></TD>
    <TD><INPUT TYPE="submit" NAME="~okcode=APPR" VALUE="`#approve`"></TD>
    </FORM>
    My problem:
    When entering a value in the input fields and pressing enter the form is submitted.
    Is it possible to disable this way of submitting? I wan't only submit when clicking on the submit button.
    Could Javascript be a solution? But I don't want to check if all input fields are filled with onSubmit. Is there another way?
    Thanks for your help!

    Hi Chris,
    your link is not available now.
    Could you please explain how to fix this issue?
    Thanks in advance.
    GB

  • Push button after press any key to turn-on

    Hi guys
    I've notebook toshiba model: L515-SP4011L and the problem is: that push it button to start, turn on but don't show screen after press any key notebook and show logo toshiba wait a moment for turn-on, after follow  don't show screen press key newly and start system, that's windows 7.
    Any idea ..., restore by default BIOS ... But not solved.
    Greetings

    For posterity, here's what the hybrid MBR looked like after repartitioning with Boot Camp Assistant on Snow Leopard:
    $ sudo fdisk /dev/disk0
    Disk: /dev/disk0 geometry: 9729/255/63 [156301488 sectors]
    Signature: 0xAA55
             Starting       Ending
    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>
    2: AF 1023 254  63 - 1023 254  63 [    409640 -  107421872] HFS+       
    3: 0B 1023 254  63 - 1023 254  63 [ 108095488 -   48205824] Win95 FAT-32
    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
    and here's how it looked after formatting it with the Windows XP SP3 installer disc:
    $ sudo fdisk /dev/disk0
    Disk: /dev/disk0 geometry: 9729/255/63 [156301488 sectors]
    Signature: 0xAA55
             Starting       Ending
    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>
    2: AF   25 127  15 - 1023 254  63 [    409640 -  107421872] HFS+       
    *3: 0C 1023 254  63 - 1023 254  63 [ 108095488 -   48205824] Win95 FAT32L
    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
    Not sure if there's other incantations that the XP installer does to the disk, but it's strange that the assistant didn't take care of everything. That step is particularly important if you're restoring a .dmg of the original FAT32 partition after replacing a hard disk.

  • ADF grays out button when pressed

    So, I have a command button. Anyway i can keep it from turning gray when I press it? I want it to be immediately re-enabled because I'm running an Excel file to the stream and I want to be able to do a responseComplete, but when I do that, the button will stay gray.
    Seems like a bug in ADF to me.

    Hi Frank,
    Thanks for responding.
    Yes, I found this link previously: ADF and Jasper Reports: does it alter the render lifecycle? and I tried that.
    I get the following error in the WL console and the button stays gray:
    java.lang.IllegalStateException: Cannot forward a response that is already committed
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    I tried immediate = true but it doesn't re-enable the button. Just stays gray still.
    The only "solution" I've found so far is to use the JSF CommandButton. Not sure what the side effects from that will be...

  • Is there a way to disable the power button when iPhone is lock with a pass code?

    This is for security reason as you can still track ur iPhone/iPad when someone decides to steal it. My iPad 2 64gb + 3G and a MacBook Pro 17 was recently stolen and I was able to track it 10-15 mins (after the incident) until the thieve(s) decided to turn the iPad off. It would be great if someone or even Apple could add this option to the cellular versions so victims of theft could have a slight chance of retrieving stuff back (with the help of law enforcements).

    You cannot at this time. Feedback to Apple goes at www.apple.com/feedback. There are other ways for a thief to disable Find my iPhone. It is not really intended to track stolen devices although it will, it is more for lost devices.

Maybe you are looking for