If Textfield is empty then deactive a button

Hello,
I have a Textfield and a Button with a Trigger. The Trigger like this code:
DECLARE
eingabe2 VARCHAR2(20);
BEGIN
     eingabe2 := :eingabe;
IF eingabe2 = '' THEN :eingabe := 3;
     END IF;
END;
I need a Trigger that the Button deactive, when the Textfield is empty.
Can someone Help me?
The Variable "eingabe" is the name of my Textfield.
Greetings

@Dipin ojha
Thank you, it works!
But i have found an other problem. ;-)
How can i change it, that the button ist so long deaktiv
till i write something in the Textfield ?
Because i have an "OK" button and i want, that the button is
active if something is writing in the textfield.
Hi,
wie man ein trigger direkt macht, wei_ ich.
Ich mvchte es gerade jetzt so haben, dass der Button erst
aktiv wird, wenn der User etwas in das Textfeld eingetragen hat,
weil ist ja blvd wenn man OK klicken kann, aber dann nix im textfeld steht.
Ps: Hast Du ICQ?

Similar Messages

  • When i go to buy an app on my ipod touch, i click the buy button then the install button and it just keeps repeating itself then dissappears, why is this?

    when i go to buy an app on my ipod touch, i click the buy button then the install button and it just keeps repeating itself then dissappears, why is this?     help me please, i cant download no apps.

    If  you have iOS 3.1.3 then it is an Apple problem.

  • How to deactive a button in application toolbar

    how to deactive a button in application toolbar?

    Simple example
    This example shows how to create a toolbar with a single Exit button, used to exit the program.
    Steps:
    Create a screen and add a custom container named TOOLBAR_CONTAINER
    Code:
       REPORT sapmz_hf_toolbar .
       TYPE-POOLS: icon.
       CLASS cls_event_handler DEFINITION DEFERRED.
    G L O B A L   D A T A
       DATA:
         ok_code                    LIKE sy-ucomm,
    Reference for conatiner
         go_toolbar_container       TYPE REF TO cl_gui_custom_container,
    Reference for SAP Toolbar
         go_toolbar                 TYPE REF TO cl_gui_toolbar,
    Event handler
         go_event_handler           TYPE REF TO cls_event_handler.
    G L O B A L   T A B L E S
       DATA:
    Table for registration of events. Note that a TYPE REF
    to cls_event_handler must be created before you can
    reference types cntl_simple_events and cntl_simple_event.
         gi_events                  TYPE cntl_simple_events,
    Workspace for table gi_events
         g_event                    TYPE cntl_simple_event.
          CLASS cls_event_handler DEFINITION
       CLASS cls_event_handler DEFINITION.
         PUBLIC SECTION.
           METHODS:
             on_function_selected
               FOR EVENT function_selected OF cl_gui_toolbar
                 IMPORTING fcode,
             on_dropdown_clicked
               FOR EVENT dropdown_clicked OF cl_gui_toolbar
                 IMPORTING fcode posx posy.
       ENDCLASS.
          CLASS cls_event_handler IMPLEMENTATION
       CLASS cls_event_handler IMPLEMENTATION.
         METHOD on_function_selected.
           CASE fcode.
             WHEN 'EXIT'.
               LEAVE TO SCREEN 0.
           ENDCASE.
         ENDMETHOD.
         METHOD on_dropdown_clicked.
         Not implented yet
         ENDMETHOD.
       ENDCLASS.
       START-OF-SELECTION.
         SET SCREEN '100'.
       *&      Module  STATUS_0100  OUTPUT
          text
       MODULE status_0100 OUTPUT.
         IF go_toolbar_container IS INITIAL.
    Create container
           CREATE OBJECT go_toolbar_container
             EXPORTING
               container_name = 'TOOLBAR_CONTAINER'.
    Create toolbar
           CREATE OBJECT go_toolbar
             EXPORTING
               parent = go_toolbar_container.
    Add a button
           CALL METHOD go_toolbar->add_button
             EXPORTING fcode       = 'EXIT'            "Function Code
                       icon        = icon_system_end   "ICON name
                       is_disabled = ' '               "Disabled = X
                       butn_type   = cntb_btype_button "Type of button
                       text        = 'Exit'            "Text on button
                       quickinfo   = 'Exit program'    "Quick info
                       is_checked  = ' '.              "Button selected
    Create event table. The event ID must be found in the
    documentation of the specific control
           CLEAR g_event.
           REFRESH gi_events.
           g_event-eventid    = go_toolbar->m_id_function_selected.
           g_event-appl_event = 'X'.    "This is an application event
           APPEND g_event TO gi_events.
           g_event-eventid    = go_toolbar->m_id_dropdown_clicked.
           g_event-appl_event = 'X'.
           APPEND g_event TO gi_events.
      Use the events table to register events for the control
           CALL METHOD go_toolbar->set_registered_events
               EXPORTING
                  events = gi_events.
    Create event handlers
           CREATE OBJECT go_event_handler.
           SET HANDLER go_event_handler->on_function_selected
             FOR go_toolbar.
           SET HANDLER go_event_handler->on_dropdown_clicked
              FOR go_toolbar.
         ENDIF.
       ENDMODULE.                 " STATUS_0100  OUTPUT
    http://www.erpgenie.com/abap/controls/toolbar.htm#Simple%20example
    http://help.sap.com/saphelp_nw04/helpdata/EN/42/d2ab343e416635e10000000a1553f6/content.htm
    help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCITOOLBAR/BCCITOOLBAR.pdf
    Regards,
    Jagadish

  • My CS6 won't let me download it onto a second computer I downloaded it before then deactivated it.

    My cs6 won't let me download it to my second computer, i did it once then deactivated it, now i want to put it back on

    Hi,
    Are you getting any error. Please provide more details.
    Regards,
    Abhijit

  • My i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting general

    my i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting >general<reset<reset network setting. but all in vain. tell me the solution

    restore your phone as new through itunes. if the issue persists after a factory restore via itunes, it means you've got a hardware issue and the phone needs to be repaired

  • My iphone 4 locked up for several hours. i then tried to reset by holding down the home button and power button at the same time for 10 seconds and then the home button for 10 seconds. it is now completely black. what do i do? couldnt restore it in iTunes

    My iphone 4 locked up for several hours. i then tried to reset by holding down the home button and power button at the same time for 10 seconds and then the home button for 10 seconds. it is now completely black. what do i do? couldnt restore it in iTunes. Has anyone had this problem? Help!

    Same thing happened to me today. I wasn't even using the phone for the past 6 hours and suddenly I can't connect to the internet, none of my internet apps would work - nothing. I tried to call AT&T from the iphone and it locked up - couldn't turn it off, change to the home screen - nada - brick.
    Did the Home/Power button thing and that worked but this I've only had this phone for about 4 weeks and it's locked up more times than my 3GS did the whole two years I had it! Ridiculous

  • HT4539 I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    itunes will only sync with an ios device.
    On the other hand, if you have a usb cord for your mp3 player, and you know what FOLDER your itunes music is located in (and for me its located at C:\Users\YOUR NAME HERE\Music\iTunes\iTunes Media  )
    you can just select that folder and copy it to your mp3 player.
    typically when you first plug in something like an mp3 player you get a windows alert asking if you want to view the contents of the device- say yes. copy your itunes folder to the music folder on your mp3 player.

  • I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    Which mp3 player?  iTunes will only sync with Apple devices.

  • A msg box is displayed when textfield is empty or wrong entry

    i put textfield in matrix on a frame know i want that when i press enter then a msg box is displayed if any text field is empty or wrong entry for example i just want to enter integer in text field i tried the following one but if i press enter without putting any entry or wrong entry it generate exceptions
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class NumericVerifier
    public static void main(String args[])
    JFrame frame = new JFrame("Numeric Verifier");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JPanel panel1 = new JPanel(new BorderLayout());
    JLabel label1 = new JLabel("Numeric-only");
    JTextField textField1 = new JTextField();
    panel1.add(label1, BorderLayout.WEST);
    panel1.add(textField1, BorderLayout.CENTER);
    JPanel panel3 = new JPanel(new BorderLayout());
    JLabel label3 = new JLabel("Numeric-only");
    JTextField textField3 = new JTextField();
    panel3.add(label3, BorderLayout.WEST);
    panel3.add(textField3, BorderLayout.CENTER);
    InputVerifier verifier = new InputVerifier()
    public boolean verify(JComponent comp)
    boolean returnValue;
    JTextField textField = (JTextField)comp;
    try
    Integer.parseInt(textField.getText());
    returnValue = true;
    } catch (NumberFormatException e)
    returnValue = false;
    return returnValue;
    textField1.setInputVerifier(verifier);
    textField3.setInputVerifier(verifier);
    frame.add(panel1, BorderLayout.NORTH);
    //frame.add(panel2, BorderLayout.CENTER);
    frame.add(panel3, BorderLayout.SOUTH);
    frame.setSize(300, 95);
    frame.setVisible(true);
    }

    thanx for ur answer but i think u donot understand i know how to display msg box i just want tha when i press enter then a msg box is displaayed that u leave a textfield empty or wrong entry
    i store the text fields in a multidimentional array

  • HT4972 if you backup everything prior to update to ISO 5 then click all buttons under summary after transferring all paid apps from iPad and then I do the update, won't the restore then  just put the old OS on it.  I am sooo lost when it says the way you

    Dear iPad Wizards,
    I am a beginner. I have an ipad and I need to upgrade to ISO 5 and I have purchased APPS on my iPad.  All the warning are scaring me.  Right now all of my sync square buttons are not turned on.  One of the warnings says I will loose my apps if I don't transfer them.  I did that (with another warning).  Then it said to back up the iPad, which I did. Heck all I want to do is upgrade my version correctly.  It then makes a statement that is something like when you are updating your version, make sure you have all your apps sync set normal, but when I do that it says you will loose all apps, but what the heck is normal (I say at this point).  So, since I am so lost and don't know what to do, do I just chuck it up to a learning experience because if I now restore everything after I do the update it seems that it will restore the old ISO...Am I correct.  I was just really thrown for a loop with that statement that is highlighted and I am still no where except backed up and apps purchased transfered to itunes.  Anybody else in the world ever have this happen to them?  I am truly thankful for anyone who might be able to help me.  I am thankful in advance if anyone understands this email.  Looking forward to someone who understand. 
    With Many Thanks
    8infinity8

    To update to iOS 5.1.1, connect the iPad to your computer's iTunes and copy any purchases off the iPad to your computer via File > Transfer Purchases - you may also want to copy photos and any important documents off the iPad as well e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via wifi, email, dropbox etc - they should be included in the backup, but it's best to have a copy of them outside of the backup just in case. You can then force a backup of the iPad by right-clicking the iPad 'Device' on the left-hand side of iTunes and selecting 'Backup'.
    You can then start the update by selecting the iPad on the left-hand side of iTunes, and on the Summary tab on the right-hand side clicking the Check For Updates button.
    Updating to iOS 5+ : http://support.apple.com/kb/HT4972

  • My iPad 2 home button has stopped working I have tried the swivel from landscape to portrait whilst holding the button, I have tried holding the off button then the home button and I was told I could create my own home button in the settings but I can't!

    My iPad 2 home button has stopped working all together, I have tried the swivel from landscape to portrait whilst holding the home button, I've tried pressing the off switch then pressing the home button, the other thing I was advised to do was create a home button in the settings under the accessibility option but I don't have the option I was advised to use under there! Help! It's really frustrating having to turn the device off everytim I want to switch apps and I really can't afford to send it away to be mended! Many thanks in advance

    The accessibilty setting that was mentioned is:
    * Enable AssistiveTouch
    Enable AssistiveTouch which floats a virtual button on-screen which can mimic all hardware buttons on the device:
    Settings>General>Accessibility>AssistiveTouch: turn ON
    *Note* If you power off the device using the AssistiveTouch panel (tap the on-screen AssistiveTouch button, Device>Lock Screen (tap and hold to power off)), you will NOT be able to power on the device *if your Sleep/Wake (power) button is not functioning*. You will need to connect the powered off device either to a PC's USB port or an external charger to power the device back on.

  • Every now and then my SEND button for texts is greyed out and unfunctional

    I'll be texting someone just fine then suddenly the SEND button freezes up and doesn't allow me to continue the conversation.
    Anyone else?
    Thanks

    Hey! I get the same problem. I'm so happy I found someone like you, cuz no one at Rogers (my carrier) or Apple knows what's going on. I've recently tried going to "Settings" "Messages" and turning OFF "Show Subject Field". I do not yet know if this will solve our problem which is constantly frustrating, but I saw this in a discussion forum so I've just tried this. Let's keep each other posted on this intermittent issue okay? I get so bugged when I'm texting back & forth & suddenly for no reason the "send" button goes gray & simply won't allow me to continue no matter if I turn the phone off/on or whatever or even delete that string of texts & begin again to same person, (who's now been waiting too long for my reply LOL) Cheers, Steve. iPhone (647) 300-9222 Toronto. [email protected]

  • My iPhone 4 is only 14 months old over dropped very well looke after, one day the lock button stops then the volume buttons, now the headphone port does not work and the battery lasts about 4 hours after full charge I still have a year left on my contract

    My phone is 2 months out of warranty, it's never been dropped or miss used yet the past week every day something has gone wrong with it. First the lock button stopped then the side volume buttons. Then the head phone port when I putt headphones in the phone turns the volume
    Down automatically and it won't turn up until I take my headphones back out. The battery lasts 4 hours max after a full charge and today I took my phone off the docking charger and all my music has gone! The phone is breaking down more and more everyday what is going on! I know people who have had there iPhones years an non of this happen! I still have a year left on my contract too!

    Who is your carrier and what is your coverage with them? If you are with say Verizon, and have Total Equipment Coverage or Extended Coverage, they will swap it out for you under Manufacturer Warrantee.

  • HT1547 My mac book pro is 3 yrs old and today while watching something on it, it got power off suddenly. And power button is not working, left side round button to battery is not working but when I plugg in to charge it, then this round button shows 4 gre

    I am having MacBook Pro 3 yrs old and today while I was watching some movie on it suddenly it got power off and when I am trying to start it, it's power button is not working even the round button on external left side is not showing battery lights. But when I connect it to chrger then Charger only gives green light and even the external round button only shown 4 green lights (if charger connected). I don't know what to do now

    Sounds like you need a #1SMC Reset
    1. SMC reset
    >>Instructions to reset SMC
    Disconnect other non-Apple and external hardware except (if applicable) a mouse and keyboard until your finished repairing your machine.
    Problems solved: Fans blowing with no activity, machine is not booting, power button pressed and nothing happens, problems with indicators, Magsafe has wrong lights, battery is not charging, monitor and graphics issues etc.  If the battery is not charged (from like letting it sleep too long), let the Mac charge up awhile afterwards.
    Will not hurt the machine resetting if it's not broken.
    Other related hardware problems (optional):
    Check battery status: Hold option/alt key down while clicking on the battery icon in the menu bar, top right corner.
    Magsafe: Use the correct/matching power supply charger with your Mac, not a less powered one from another Mac.
    Apple: Laptop won't power up   Apple: Computer won't power up  Troubleshooting optical drive
    Magsafe problems   Magsafe problems more

  • My new ipad is showing the message 'Use wi fi to restore - A wi fi connection is required to download your apps and media' then gives 2 buttons

    I had my ipad replaced last week. The apps etc were transferred to the new ipad and it worked fine for a couple of days. This morning the screen locked up and displayed the message - Use WiFi to Restore- A wi fi connection is required to download your apps and media. Then gives a choice of two buttons - Later or Use Wifi. Absolutely nothing happens when you press these buttons, the whole screen has locked up and it can't even be turned off. If you hold the off button down then eventually the slide to power off button appears but nothing happens when you swipe it. Help!

    Hold down the home button and power button at the same time, ignore the power off slider until the Apple logo appears.

Maybe you are looking for

  • Why is it no longer possible to make the download window close automatically after downloading is finished ?

    Only two days ago the download window closed after downloading. What happened ? And why is there a new and less efficient download window ?

  • Data filter when migrating Oracle to SQL

    How can I use a data filter (via t-sql or ??) when using SSMA to migrate data from Oracle to SQL Server ?

  • ITunes will not start after installing newest version

    After installing the newest version of iTunes, I click on the iTunes icon and the license agreement flashes on the screen and disappears before I can click on the agreement. I am running Windows 2000 professional edition. Quick time will also not sta

  • What is the use??

    Why are the following done?? purpose of asterik after io* ?public? is known as an access specifier, with which the programmer controls who can see the class(opposite is ?private)?. and the following?? ?static? ?void? ?main? Why do we have a semi-colo

  • Make the help feature better

    ...by which I mean: FASTER - in the olden days of CS3, I could click on help, type in a query, press return and have the answer right there in a few seconds. Now the help system has grown so ridiculously bloated that it takes about a minute just to l