Inivisible button

Hi all,
How to make the input button invisible. I need code for that.
Thank

loop at screen.
if screen-name = 'P_BUTTON'.
screen-active = 0.
modify screen.
endif.
endloop.
Regards
Gopi

Similar Messages

  • Java button help

    Alright this is what im trying to do. I have already created two buttons and i have a separate event handler object. I want to be able to click the "Hide/Show ON/OFF" button and that sets the second buttons visible property to false and when clicked again set it to true (so make it inivisible with the first click then visible with a second click of the button). Next i want to be able to click the second button labled "OFF" and when that button is clicked i want its text to change to "ON" and turn its font color to red. When the first button is clicked it keeps the text of the second button the same. I know i need to incorporate the setText() and setForeground() methods to my project im just not sure how to do so. If someone could help me that would be great. This is what i have so far.
    import javax.swing.*;
    import java.awt.*;
    public class CrazyButtonsFrame extends JFrame {
         public static void main(String[] args) {
              CrazyButtonsFrame bf = new CrazyButtonsFrame();
              bf.setVisible(true);
         private static final int FRAME_WIDTH = 200;
         private static final int FRAME_HEIGHT = 100;
         private static final int FRAME_X = 500;
         private static final int FRAME_Y = 300;
         private JButton button1, button2, button3;
         private Container contentPane;
         private CrazyButtonsHandler buttonHandler;   // separate event handler object
         public CrazyButtonsFrame() {
              // Create the frame
              super("Program 6");   // sets title via JFrame constructor
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setSize(FRAME_WIDTH, FRAME_HEIGHT);
              setLocation(FRAME_X, FRAME_Y);
              makeWindowLook();
              setEventHandling();
         private void makeWindowLook() {
              button1 = new JButton("Hide/Show ON/OFF");
              button2 = new JButton("OFF");
              contentPane = getContentPane();
              contentPane.setLayout(new FlowLayout());
              contentPane.add(button1);
              contentPane.add(button2);
         private void setEventHandling() {
              buttonHandler = new CrazyButtonsHandler();
              button1.addActionListener(buttonHandler);
              button2.addActionListener(buttonHandler); 
    }here is the other class
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class CrazyButtonsHandler implements ActionListener {
         public CrazyButtonsHandler() {
         public void actionPerformed(ActionEvent ae) {
              JButton clicked = (JButton) ae.getSource();
              String buttonLabel = clicked.getText();
              JRootPane rootPane = clicked.getRootPane();
              JFrame cbFrame = (JFrame) rootPane.getParent();
              Container contentPane = cbFrame.getContentPane();
              if (buttonLabel.equals("Hide/Show ON/OFF")) {
                   //i need the "Hide/Show ON/OFF" button, when clicked to set the "OFF" button to invisible and when clicked again set it visible.
              if (buttonLabel.equals("OFF")) {
                   //i need the "OFF" button, when clicked on to change to on and then turn red.
                   contentPane.setForeground(Color.RED);
    }

    multi-posted
    http://forum.java.sun.com/thread.jspa?messageID=4205433

  • Disable the my_button (not SUBMIT, EXECUTE button)

    Hello
    I am trying to disable my_button (regular) by usinf this.disabled = true by seeing in google, but, its not working!
    Pls. let me know how to either disabel a button or invisible/hide a button, syntax pls. with syntax errors pls.
    Thank you

    Hello Srinivas,
       you can use this.access = "readOnly" to disable a button from clicking. You can still see the button which is not interactive.
    To hide or make a button invisible, use
    this.presence = "hidden" //hides the button from form
    or
    this.presence = "invisible" // button will be inivisible. difference is it still occupies the form space.
    Regards,
    kc

  • Adobe Bridge Buttons in Dreamweaver, Flash, and Fireworks?

    Hello,
    Adobe says that the button to connect to Adobe bridge is in
    every CS3 application. I can find it in Photoshop, Illustrator, and
    even Contribute, a former Macromedia project, but none of the other
    Macromedia projects (Dreamweaver, Flash, Fireworks) have one. Am I
    missing it, or is this a glitch?
    Thanks,
    Dylan

    Go to Edit > Prefs > Enable Version Cue. Once you do
    that look in the lower left corner of the flash
    application - you should see "Open" with an arrow. Clicking
    on it will popup "Reveal in Bridge" button.
    Chris Georgenes / mudbubble.com / keyframer.com / Adobe
    Community Expert
    Dylnuge wrote:
    > Hello,
    >
    > Adobe says that the button to connect to Adobe bridge is
    in every CS3
    > application. I can find it in Photoshop, Illustrator,
    and even Contribute, a
    > former Macromedia project, but none of the other
    Macromedia projects
    > (Dreamweaver, Flash, Fireworks) have one. Am I missing
    it, or is this a glitch?
    >
    > Thanks,
    > Dylan
    >

  • Unable to capture button event in pageLayout Controller

    Hi Guys,
    I have the following layout
    pageLayout
    pageLayoutCO (controller)
    ----header (Region)
    ----------messageComponentLayout (Region)
    -----------------MessageLovInpurt
    -----------------MessageChoice(Item)
    -----------------MessageTextInput
    -----------------MessageLayout
    ----------HideShow (Region)
    -----------------MessageLovInpurt(Item)
    -----------------MessageChoice(Item)
    -----------------MessageTextInput(Item)
    -----------MessageComponentLayout (Region)
    -----------------MessageLayout
    ------------------------SubmitButton(ID:SearchBtn)
    ------------------------SubmitButton(ID:ClearBtn, fires partial action named clear)
    -----------header(Region)
    I am not able to capture the event fired by the button ClearBtn in the controller of the pagelayout.....
    The two methods I used as follows aren't worked:
    if ("clear".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    if (pageContext.getParameter("ClearBtn") != null) {
    what should i do in order to capture the button event in the pageLayout Controller
    Thanks in advance
    Mandy
    Edited by: user8898100 on 2011-8-2 上午7:49

    Mandy,
    Its really strange that its not able to caputure the event in CO.
    Below is the way in which we handle to Submit action at CO level.
    /Check whether ClearBtn is same in case too.
    if(pageContext.getParameter("ClearBtn")!=null){
    System.out.println("Inside the Clear Btn Action");
    Regards,
    Gyan

  • Malicious or not? Message popped up: Mozilla security found (something like too much, forget exact word) activity on your computer so it will do a fast scan of system file. With OK button.

    I was looking at youtube.com, which always tells me my browser is not supported and recommends I download Firefox, but that is what I was using, so I went to Firefox to check for updates. (I think I also had freecycle.org open.) Then this message popped up in a new page: Mozilla security found (something like "too much", forget exact word) activity on your computer so it will do a fast scan of system file. There was an OK button. The page address was: http://update17.stegner.ce.ms/index.php?Q7Lhl9ShbRxGJXpkM1VLSi4ZE8H4pTedoVPySgeppM3VpC+thEspcFG7qxHgn1pdsC2h5ygPGWI3t5hXqMzL9EQaZZ3J1e3CKXgCb0Qp. I did not click OK but copied the link and closed the window which closed the internet. I have never seen this before and would like to know if it is really Mozilla or possibly something malicious. Thank you.

    Good catch. That almost certainly is an invitation to download malware.
    There are a lot of infected web sites pushing "fake antivirus" software. If you have any doubts about whether your system might have become infected, you can supplement your regular security software with these two highly regarded scanners:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/mbam.php
    SUPERAntiSpyware : http://www.superantispyware.com/

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • Help Needed Badly | BlackBerry INC000025111306 | BlackBerry PlayBook - Tablet button does not work, almost stuck, copper under screen, seventh repair

    I was really Humilitated my RIM on this Ticket whcih i rasied.
    1) I bought a new tablet in last november in 2 months i had a Charger issue 
    2) They said this charger issue we cannot replace with new tablet and gave me a refurbished Tablet to me .
    3) Which also had same charging issue and they exchanged 2 more tablets and the last tablet which was given to me by RIM have a safety concern
     - 1 Small mesh of wire is poping out from the Tablet 
     - Power Button is very hard and its not that easy to press,
    So i raised the above ticket and was esclated internally with RMA as well and i got an update from the esclation agents that we will reply back in 2 Days i waited almost 3 weeks and called 2 times in this 3 weeks for an Update asking for a new tablet so that atleast once in all i can jeep a good 1 Tablet.
    But they never bothered to call me and today i called them again and RIM gave me a call back mentioning we cannot give a new tablet we can again check this tablet repair it and give it back , If we cannot repir then give a replacement new/Old tablet,
    I was wondering how can a tablet from RIM can go out without such safety concern ? How a mesh of wire can comeout of tablet so what safety norms RIM is follwoing for customer.
    AM i not humilitated? since after taking all these struggle tto get a good tablet i have been considered as bad.
    What RIM have to say for this, I am planing to take this to Legal department to follow how i can get a justice for this.

    I would have deleted this but can't find a delete?
    At any rate. got the Blackberry going again but it reset it and lost all the info, pictures and so forth.. oh well. at least it is still working.
    Thanks.

  • On Android 4.2.2 on a Nexus7 tablet - No Firefox button and most text entry fields do not work at all

    I installed Firefox 19.0.2 and appears to be ok, but I don't see a Firefox button anywhere, so I cannot access any of the functions that it controls, such as bookmarks, which is why I installed it!
    The ASUS Nexus 7 tablet shows up as a supported platform.
    I set it as the default link browser, but quickly realized that I could not enter text into any data entry fields, so I reset the default back to Chrome, which works fine for that.
    I installed Firefox because bookmarks in Chrome are very lame, but I can't use bookmarks at all in Firefox, so again Chrome wins.
    Any suggestions, before I uninstall it?

    I am now a Democrat supporter. dccc.org does accept text input from my mobile.
    The forum problem I mentioned earlier is apparently a known issue but only affecting legacy phones.

  • Button Text options

    Okay I have been working on C3 for 2 months. Subscribed to
    Lynda.com...ran tutorials checked every help link. The Fireworks
    Help function stinks. Editing button symbols, here's what you get
    when you querie button text.
    "Fireworks button symbols are a special kind of symbol. They
    have two kinds of properties: some properties change in all
    instances when you edit an instance of the symbol, and other
    properties affect only the current instance. Here's what you get
    when you querie button text.
    Fireworks button symbols let you take advantage of the
    convenience of symbols yet allow you to edit certain properties of
    a button instance, such as text, without affecting other
    instances."
    Just fabulous, really.....How? Adobe tells me that it can be
    done.....just not how.
    I import a 3 position button from the library. I use the 9
    slice tool to set the button size, enter the text in the properties
    box. Tried to change the font, style or even use the fonts in the
    styles tab....no luck. I'm just
    trying to make a few buttons for a web page, why is it soo
    hard? Why does the help link not walk you
    through the process? Nothing in Lynda.com tutorial.

    RobaloBill wrote:
    > Just fabulous, really.....How? Adobe tells me that it
    can be done.....just not
    > how.
    Click on the button to select it, and then change the text on
    the 'TEXT'
    line in the Property inspector.
    > I import a 3 position button from the library. I use the
    9 slice tool to set
    > the button size, enter the text in the properties box.
    Tried to change the
    > font, style or even use the fonts in the styles
    tab....no luck.
    Double click on the button to open the button editor window.
    Change the
    font properties in the Properties inspector. Return to page
    1.
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

  • Problem with JavaScript in my PDF Form buttons

    I am trying to have my user click on a button in my form on my website and e-mail the form data to me.
    I am using the following JavaScript with my form button:
    this.mailForm(false, "[email protected]", "", "", "Subject", "Message Body");
    Protected mode is off.
    When I use the above statement (whether the 1st parameter is set to true or false), nothing happens – no email gets sent and no mail dialog box appears. If I change from this.mailForm(...) to this.mailDoc(...), I get a mail dialog box but, as expected, it sends the blank form without the filled-in data due to low user privileges.
    How can I send the form data with this.mailForm(...)? (Note that I prefer to use this.mailForm(...) rather than mailto:(...) because this.mailForm(...) supposedly allows me to e-mail the form without user interaction.)
    -- Don

    Thanks for responding.  I have been using “Submit a form” in the Mouse up event.  I had that operation do a mailto: and it worked, but required user interaction on the part of the web page visitor.  I have successfully created an equivalent JavaScript including:
        var url = "mailto:[email protected]?subject=mySubject&body=MyMessage"; 
        this.submitForm(url, true);
    The above sent the FDF file successfully, but again, it required user interaction.
    Then I tried this JavaScript - as I mentioned in a previous post - after you said to use doc.submitForm():
        var url = "http://mydomain.com/submit_notice.php";
        doc.submitForm(url, false);
    The above script seemed to do nothing (with no error message). Shouldn't it bring up the PHP file in the web browser?
    I have that php file, submit_notice.php, created, but I have not written any PHP scripts to e-mail the FDF file.  I have never written a PHP script to take the posted FDF data and email it, but I have used the PHP mail() function and posted variables.
    As for what I want to happen on the client side after the submit takes place: I simply want the FDF file to go to an e-mail that I specify.  Additionally, I need it to happen without any client interaction on the part of the web page visitor.  I can expect that visitor to have Adobe reader, but no add-ons or protected mode requirement.
    Please give me an example that emails the FDF file without any user interaction.
    Thank you.
    -- Don

  • Problem with buttons in my screens

    hi
    i have two buttons in my screen say button1 and button2
    by default when i display this screen as per my requirement only button1 should be visible and button2 should be invisible
    button2 should only be visible when i click on my first button i.e. button1.
    where and how to code this
    vamsi

    Hello Sir,
    This is Ravi and Saras this side.
    Remember?
    TCS.....SAP Training.....Lemon Tree...
    Ok.
    As far as ur question is concerned.....
    1. At selection-screen output
         loop at screen.....then make the 2nd button invisible by modifying the screen.
    2. At selection-screen
         Between an if endif condition check whether the 1st button has been clicked.
         If yes then again loop at screen and make the 2nd button visible.
    That will solve ur problem.
    Regards,
    Ravi and Saras

  • I used to be able to open links in a new tab by clicking my middle mouse button, but now that I've updated it to the most recent update it doesn't work anymore. How do I fix this? I really love that feature. It works in IE and Chrome but not Mozilla.

    Ok, I used to be able to open links up in a new Tab using my middle mouse button. However, I updated firefox with the automatic Updates on the 26th of October and now I no longer can open links with my middle mouse button. Why? I use this feature just about every time I go searching on the internet so I really would like it back. I couldn't find anything that it was related to in the options so I turn this over to you guys.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • I can't print anymore, the "help" button doesn't work, and Firefox always sets to "Never Remember History" even if I change it

    SO many issues with Firefox now! For one, it crashes quite a bit. I submit the crash report, and go from there. Keeps happening. But the main thing is this:
    I go to "Options" and under "Privacy" it has "Never remember history" - I change it to "use custom settings for history", hit "ok" and then when I go back to it, it's back on "never remember history" already. What gives?
    The issues I'm having right now is that I used to click on Print in my email (Yahoo) and pop-up blocker would stop it, but a dialog would pop up saying "try again", and I would hit that, and a separate window would open where I could print the email. Now, when I click on print, NOTHING happens. No box, no changes whatsoever. No pop-ups blocked, nothing at all. I mean, the button for "print" doesn't even react like I clicked on it. Nothing happens.
    The other issue is that when there's a text box, if I start to type my email address, it suggests my email address. It never used to do this! I don't want this, either. How can I stop the suggesting of my email address. I don't want it to remember what I typed!
    Another issue with Firefox is that when I click on the "menu" button in the top right, there's a question mark that says "open help menu" at the bottom. When I click on that, the help menu is EMPTY. I included a picture so you can see.
    I've "reloaded Firefox", as well as downloaded another copy and actually reinstalled it. All these errors keep happening. How can I get them to stop or function correctly? What's causing them to work all wonky?

    The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
    Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
    "Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
    You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
    *https://support.mozilla.org/kb/Private+Browsing

  • Using a custom menu button on the slide to open and close TOC in Captivate 7

    HI
    I have a custom menu button. When the user clicks I want to show TOC, ( I see there is a state to show TOC) but when the user clicks the same menu button again on that slide how can I hide the TOC. ie toggle between hide and show.
    thanks

    I described some possible scenarios: Toggle Shape buttons - Captivate 6 - Captivate blog

Maybe you are looking for

  • Docking an iphone with a hard case

    Does anyone make an extension cable for docking an iphone without removing your hard case every night? Or an adapter of some sort to plug onto your dock, and allowing your iphone to dock onto the adapter while still keeping a hard case on the phone?

  • ICloud Keychain - Concerned about security

    I received a text message this morning that read 'Your iCloud Keychain verification code is: ******' I had never heard of iCloud Keychain up until this point and I certainly didn't request a verification code for it. Does this mean that somebody else

  • How can I import iMovie HD 6 project files into Final Cut Express HD3?

    Trying to import iMovie HD 6 projects into FCE HD 3 but 2 windows appear: Importing XML data and below it a SAVE window If I click SAVE, both windows disappear, a file with nothing in it appears in browser and when try to play it in the viewer, there

  • No substitute cost center maintained

    No substitute cost center maintained Message no. KI091 Diagnosis In payroll accounting, data cannot be posted from a CO point of view neither to the CO account assignment stored in the HR accounting data nor to the master cost center to be posted alt

  • Whenever i use pencil tool after completing the fig. the color change ............

    I am new to adobe flash cs3 . whenever i use pencil tool after completing the fig. the color changes to green .. even though the box indicates black  color ..