Disabling a button when you press it...

Hello
I want to disable a button pressing (to be more precise the last command to run...).
Although the syntax... the name of push button... etc, I've written are correct:
set_item_property ('test.psh_button', Enabled, property_false);

the error that arises is: ORA-06502
When I comment on this line of the source code is executed without error...

Can you think of another way to accomplish this duty...?


Note: I use Dev/2000 v.6i with patch12
Thank you
SIM

You cannot disable the current element, if you need to access a different element and then disable the button

WHEN BUTTON PRESSED

do_key ('next_item');  -- navigate to another item so we can disable the buttonset_item_property ('BLOCK.BUTTON_ITEM', enabled, property_false);  -- disable the button

Otherwise... as said previously, you should be able to disable the button if you
Set the properties to be nonnavigable by mouse and press

Tags: Oracle Development

Similar Questions

  • Reset button when you press another button

    I just started using labview to work and need help with my last piece of code.  I am writing a program to control an instrument which requires a signal 'halt' and a 'reset '.  When the instrument is stopped (for reasons of error that is generated a continuous stop signal) how to reset the device is emitting a signal of 'reset '.

    The stop signal is triggered by a Boolean button or a mistake from an entry DAQmx, the reset signal is triggered by a Boolean button in a structure of cases this is true when the stop signal is output.

    My question is when you press the button reset (correction of a mistake), I want button discharge to be depressed, otherwise my program would be stuck in a negative loop (IE I have reset the device but the stop button is always in a hurry).  I can't press two buttons at the same time!

    How do I link these?

    Thank you!

    Radio buttons do all the work for you, if you don't mind seen Reset selected until you actually hit stop.

  • Change the State of the button when you press another button

    Hi all

    I have a simple enough question, but just does not know how I can do this... I'm trying to switch between the two types of waveforms (sine and square) on a graph using buttons and a box structure.

    I currently have two buttons A and B. When I press A, it turns into real and displays the waveform 1. When I press B, B turns into real and displays the waveform 2. However, when B is true, I still have a permit as true (hurry)

    I can't figure out how to change the status of a return to false when you press B and vice versa.

    I am fairly new to Labview so if anyone can refer to a position where it is already the answer or point to the right direction, that would be appreciated

    Thank you

    Rather than clutter up the code with the event hidden cases (!), controls (!), value properties (!) and variable (!) local (as suggested above but not recommended at all!) In addition, it does not even work correctly!), all you need is a control radiobutton that allows also to "no selection". See attached (LabVIEW 2013). You could also add a third Boolean value for the sine wave and not dismiss "no selection" to make the code even more if auto-documentent.

    I made the transparent container radiobutton to match your existing style.

  • Behavior of the button when you press ENTER key

    I want to run that by the forum to see if someone else can confirm.
    On a PC when a button has the focus, pressing the Enter key performs the button's onAction
    On a Mac hit the Enter key in the same conditions does nothing.

    The behavior is the same? Can others recreate the issue?

    I don't mind opening a ticket, I just want to see if it is a 'feature' first

    planned on a MAC user behavior

    I had a Mac yesterday.

    OS X 8 buttons are triggered when they are targeted and you press space on them - for the JavaFX applications and similar system.

    The focus by default system behavior is that only text boxes and lists getting focus - buttons not developed at all. Enter fire, by default the button regardless of whether it is focused or not - for example OK for a message dialog box or open a file dialog box. Enter sometimes run another action (such as an editable name - similar to a slow double click icon in Windows). ESC performs a function cancel - for example, to get rid of a pop-up window which may or not have a cancel into it button. Symbol alt + f to open a file menu do not appear to work at all for the applications of the system as Safari - I didn't try for JavaFX. To access a menu item, you can press ctrl + fn + F2, then navigate around a keyboard with the arrow keys or by typing the first letter of a menu item, then press SPACEBAR to activate the menu to get a drop down, then navigate with the keyboard even more and finally press the SPACEBAR to activate the desired menu item. Virtually every element of menu in Safari seems to have a combination of the accelerator of the command key + another key, so maybe it's the way things are to do in the land of Mac. None of the standard system applications seem to have all applied to the button symbol.

    If you go to System Preferences | Keyboard | Keyboard shortcuts there is an option that says access to the full keyboard: all controls. This button can also be activated at any time in the system using ctrl + fn + f7 combination. Once the option is enabled, you can tab to a button for the focus. JavaFX does not respect this setting, you can tab to buttons and others not on the list and the controls of textfield in a JavaFX application at any time, regardless of the value of the full keyboard access.

  • delay button when you press

    I have a project in CP5 with buttons on a number of screens. When you click a button in the project, it takes just a few seconds before it goes to the next screen. There is that a slow fade once the button is clicked, but makes it appear as if the user must click on the button several times to make the action work macarons. I thought that maybe it's a problem of timing of slides and it was not moving forward because of a timing longer, but even when I change the timing in a matter of seconds, there is still a significant delay when the action button is engaged.

    Any ideas on how to make the button action happen immediately?

    Thank you very much

    Whitney

    Hello

    How you set up the action on the success of the button? Maybe you left it to the default value "Continues", if so change it to "Go to the next slide".

    Lilybiri

  • How to disable a button when you click on another and vice versa in busy border?

    Hi guys!

    I have a question about the buttons!

    I'm not an expert in coding, but I managed to create buttons with actions, but the question is how do I deactivate (deselect) a button by clicking on another and how to activate it when clicking on it?

    I would really appreciate your help!

    Thank you!

    composition of loan:

    button_1 = 0;

    button_2 = 0;

    in the click event of button 1

    If (button_1 == 0)
    {
    button_1 = 1;
    sym.getSymbol("button_1").play (0);  play anything, this button is

    If (button_2 == 1)
    {
    sym.getSymbol("button_2").playReverse ();   Reset everything that made the other button
    button_2 = 0;
    }
    }

    in the click event of button 2

    If (button_2 == 0)
    {
    button_2 = 1;
    sym.getSymbol("button_2").play (0);  play anything, this button is

    If (button_1 == 1)
    {
    sym.getSymbol("button_1").playReverse ();   Reset everything that made the other button
    button_1 = 0;
    }
    }

  • new tab does not appear when you press the button "open"

    A few days ago I suddenly can not open a new tab when you press the button open tab , press file-> open the tab, or Open the tab button next to a tab...

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

    There are a few places to check for the Ask toolbar:

  • HP Deskjet F4280 all-in-one scan does not work. Start button / stop flashing when you press scan.

    Scan does not not on my HP Deskjet F4280 all-in-One.  The power button flashes when you press scan. Everything else works.  I tried to unplug it from the wall socket and reconnect it.  Not solve the problem. What else can I try?  Or, is it a piece of junk now and needs replacement?   My laptop (windows vista) did not go into repairs several months ago. Don't know if that had anything to do with it.

    Hi woodcarver60,

    Follow the steps outlined in the documents below to scan from the software.

    HP Multifunction printers - how Scan: Windows 8 http://support.hp.com/us-en/document/c03511921

    HP Multifunction printers - how Scan: Windows 7 http://support.hp.com/us-en/document/c03476857

    HP Multifunction printers - how Scan: Windows Vista http://support.hp.com/us-en/document/c03517146

    Scan from Windows XP software with the full functionality of HP for the all-in-one HP http://support.hp.com/us-en/document/c03517150 printers

    HP LaserJet multifunction printers - how Scan: Windows 8 http://support.hp.com/us-en/document/c03755019

    Scan from Windows 7 with full HP software functionality for all-in-one HP LaserJet http://support.hp.com/us-en/document/c03584750 printers

    HP LaserJet multifunction printers - how Scan: Windows Vista http://support.hp.com/us-en/document/c03584647

    HP LaserJet multifunction printers - how Scan: Windows XP http://support.hp.com/us-en/document/c03584350

    All-in-one printers

    Win 8: c03511921 http://support.hp.com/us-en/document/c03511921

    Win 7: c03476857 http://support.hp.com/us-en/document/c03476857

    Win Vista: c03517146 http://support.hp.com/us-en/document/c03517146

    Win XP: c03517150 http://support.hp.com/us-en/document/c03517150

    Multifunction LaserJet printers

    Win 8: c03755019 http://support.hp.com/us-en/document/c03755019

    Win 7: c03584750 http://support.hp.com/us-en/document/c03584750

    Win Vista: c03584647 http://support.hp.com/us-en/document/c03584647

    Win XP: c03584350 http://support.hp.com/us-en/document/c03584350

  • Why Satellite Pro A300 does not start when you press the power button?

    Suddenly my new Satellite Pro A300 does not start correctly when you press the power button. The situation is the following: when I press the power button is displayed the opening of Toshiba (Leading Innovation) and the disappers image quickly. Then there is a black screen for about 30 seconds. There is a rectangular frame with the text Microsoft Corporation under. And nothing happens however long wait.

    In order to get with the trial starting I then shut down the computer by pressing the power button until the computer turns off. ("The hard way to close")
    Now, I press the power button shortly to turn on the computer. Then, the computer starts normally with the photo to open Toshiba and after a few seconds, I wonder to open the computer in safe mode or in normal mode. I now choose to open in normal mode and the computer opens normally and is ready to work.

    What should I do to get a normal departure procedure?

    When the laptop starts normally (after choosing normal mode) stop your laptop properly using START > shut down option. Next launch should be normal.

    When the OS is moving towards the low irregularly will always ask you how to start this new (secure or normal mode).
    The same thing happen on my Satellite A300.

  • No Satellite A200-27R no response when you press power button / stop

    Hello

    Ive looked all over the internet and has spent weeks trying to understand the problem, but im at a loss.
    I recently replaced a cracked screen on my A200-27R and everything worked fine.

    A few days later, I started the new laptop and nothing has happened and has been the same since.
    The electric blue and the battery turns on but does not respond when you press the power button, not even the fan.

    I checked all the connections inside several times, checked without the battery, etc.
    I'm not sure what to try next, any ideas?

    Thank you

    Can you start cell phone if the battery is removed, with AC power only?

    You know, it's not easy to say what can be the problem.

  • Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Here

  • Boolean button changes color briefly when you press

    Hi, I use Boolean button is a toggle, so I want only text changes when pressed without changing the appearance of the button.

    I am able to change the color on properties to match the color Off (I use the silver palette so normally is yellow), but when the Boolean button changes to, there is a brief change of color again. Is there a way I can get rid of him?

    In fact, some of my buttons Flash black while others are flashing yellow. I have no idea where this is defined.

    Thak you very much.

    There are 4 colors for Boolean values ON and OFF more past of WE OFF and goes off to WE

    You see only the color of transition when you have the locking set of 'locking' Mech by releasing

    Set on "lock when you press on" and you will not see the colors of transition

    You can set all 4 colors by using the Colors property [4]

    Colors [4] property

    Short name: color [4]

    Request: Development of database system

    Class: Boolean properties

    Usage: Create a property.

    Table of up to 4 (foreground color, background color) pairs, where foreground color is the color of Boolean control foreground and background color is the background color of the Boolean control. Color pairs include False, True, true to False and false to True.

    You can set the color of the object of the façade by plugging in a hexadecimal number with the form RRGGBB or by plugging in the constant color box in the property.

    This property is similar to the option of colors on the page of the appearance of the Boolean properties dialog box.

    If the Boolean control has four (foreground color, background color) pairs for four States, this property always returns an array of four (foreground color), background color pairs during playback. When you write, you can pass an array of length 1, 2 or 4. If you pass in a single element, this property uses the value of the element for all four States. If you pass in two elements, this property uses the first value of the element to false and true false States. Similarly, this property uses the second element for the real and the fake in real States.

    If the Boolean control has one pair (foreground color, background color) for all four States, this property returns an array of pair (foreground color, background color) during playback, and uses the first element of the array when writing. You cannot change a Boolean control with (foreground color, background color) pair to a Boolean control with multiple (foreground color, background color) pairs.

    This property uses only the True to False and False to True States when you set the Boolean control to latch or switch when released. You can get and set these (foreground color, background color) pairs even if you do not have the control latch or switch value when released. they are not used.

    Because this property does not change the Boolean control data, you can set it at any time.

    You can use this property to Boolean control on the Classic, Expresspallets, modernand silver . You cannot use this property for Boolean controls in the System palette.

  • is it possible to put in place a control of the event in labview to create a string indicator when you press a button

    I'm trying to implement a user interface where an operator can set the column headers for a report and I use indicators of the string as the placement for the text in the column headers.  Given that many of them will have experience with Labview, I was hoping to set a button with the ability to add or possible delete a string indicator when you press.  Is it possible to set up an event like this?

    You cannot create an indicator of the string, but you can change the visibility of the existing volumes.

    For example, you can display an indicator of the string, giving the impression that his creating.

    /Y

  • PowerEdge T410 won't do anything when you press the power button / stop.

    My work has recently retired this t410 server. It worked without any problems when he was arrested. I had to remove and destroy the hard drives from the system. After that, I was allowed to bring home for my own use. I installed a new sata drive and plugged into the power supply and a free sata port on the motherboard. I get nothing when I tried to boot the system. This version has the unique power. Power light only lights up when you press the test button. System fan is going at full speed, but stops when you release the power button. Also on the control panel lights 1,2 and 4 and HDD power on and turn until the test button is released. There is a single green light lit on the motherboard, while it is plugged. Apart from that, I have no response when you press the main power button. Can anyone tell how to try to get it up and running again.

    -Who-

    I have not received the answers more so I think that this issue is ignored. So I'll let everyone know what finally happened. I solved my problem after a lot of electrical testing. I found a diagram of the arrangement of the power dell power supply pins and I made myself the best possible meter test. After several rounds of tests, I found several pins that did not have the right voltage. I bought a new power supply. I installed and replace everything. I plugged into the system and it auto fed on itself. I loaded from an OS and it works perfectly.

    Problem solved

  • When you press the button to update on ipad, it says cannot connect to store

    When you press the button to update on ipad, it says cannot connect to store

    Contact Apple for problems with their equipment and services. http://www.Apple.com/

Maybe you are looking for

  • ENVY 15-k008ne Notebook PC: my laptop does not completely turn off

    Hello When I have shutdown/Hibernate / standby my laptop, it will turn off completely. All programs will be closed (when stop or restart) and I think that OS will also close. But the laptop will not turn off. Power LIGHT and fan will stay on. And whe

  • Badr driss

    : happy:

  • How to find the Web sites of high quality backlinks?

    Original title: how to find quality backlinks? Updates on the algorithms research of new google forward a site spammy that build a bad backlinks. But how to find the Web sites of high quality backlinks? Could we must spend a lot of money to get their

  • My WinSxS occupies 25GB! How can I make it smaller?

    I delete the files from my laptop which is running Vista. I have erased all of the usual culprits and then could not understand where all the space was used. I ran Diskdetective and found out it was windows itself! My windows folder contains 25 GB to

  • Could not start the network Intel 82566mc gigabit r61 code 10 device

    When I open the devices and printers, I get the sign troubleshooting and try to fix it without success. I get: Peripheral network 82566mc gigabit Intel cannot start code 10 I have Windows 7 Ultimate 32 bit My laptop is a ThinkPad Lenovo R61i My quest