Invisible and Visible

I want my user to select one of three radio buttons and have a drop down list appear as a result. For each selection there is a separate drop down list.
Each drop down is invisible; selection of radio button determines which drop down becomes visible.
I cannot make the drop down list visible when I click on a radio button.
My code (in the on click event at the radio butoon)is
--> form1.page1.DropDownListX.presence == "visible" <-- end code, where "DropDownListX" is the drop down list I want visible.
Can some kind and helpful person here aid me please?
Thanks,
Chris

Let's say you create a new radio button group by dragging three radio buttons onto a form. Then you place a drop down list next to each button, name these drop down lists "DropDownListX" where "X" is 1-3 and make them invisible by setting the Presence property on the Object palette's Field tab to
invisible. You can achieve the effect you're looking for by placing the following code on each radio button's Click event (in FormCalc):
DropDownList1.presence = "visible"
DropDownList2.presence = "invisible"
DropDownList3.presence = "invisible"
Of course, this is the code for the first radio button which, when clicked, will show DropDownList1. I chose FormCalc here because it was a simple script but you could just as easily do the same in JavaScript:
DropDownList1.presence = "visible";
DropDownList2.presence = "invisible";
DropDownList3.presence = "invisible";
The only difference, in this case, is the mandatory semicolon at the end of each line.
Stefan
Adobe Systems

Similar Messages

  • Making Multiple Panels invisible and visible

    So I have this problem, Im trying to make different panels visible and invisible by the means of a button. I believe my code is sound, but its not working. I would really appreciate it if someone were to look at my code and solve this problem. Basically my button isnt working.
    import java.awt.image.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Scanner;
    public class panels extends JFrame
    private JPanel panel1, panel2, panel3, panel4;
    private JLabel title;
    private JButton test;
    public panels ()
    setSize (400,800);
    JButton test = new JButton ("test");
    title = new JLabel ("");
    JPanel panel1 = new JPanel();
    panel1.setPreferredSize(new Dimension(200,200));
    panel1.setLayout (new GridLayout(5,2));
    panel1.setBackground(Color.black);
    JPanel panel2 = new JPanel();
    panel2.setPreferredSize(new Dimension (200,200));
    panel2.setBackground(Color.red);
    JPanel panel3 = new JPanel();
    panel3.setPreferredSize (new Dimension (200,200));
    panel3.setBackground(Color.orange);
    JPanel panel4 = new JPanel();
    panel4.setPreferredSize(new Dimension (200,200));
    panel4.setBackground(Color.green);
    Container container = getContentPane ();
    container.setLayout (new GridLayout(4,1));
    container.setBackground (Color.white);
    container.add(panel1);
    panel1.add(test);
    container.add(panel2);
    container.add(panel3);
    container.add(panel4);
    ButtonHandler handler = new ButtonHandler ();
    test.addActionListener (handler);
    setVisible (true);
    public static void main (String args[])
    panels application = new panels ();
    private class ButtonHandler implements ActionListener
    public void actionPerformed (ActionEvent event)
    if (event.getSource () == test)
    panel1.setVisible(true);
    panel2.setVisible(false);
    panel3.setVisible(false);
    panel4.setVisible(false);
    }

    Take a look at this example and you will see that your code is missing a few things.
    http://www.javaprogrammingforums.com/java-swing-tutorials/278-how-add-actionlistener-jbutton-java-swing.html
    There are plenty of examles on the web of how to do that
    http://www.youtube.com/watch?v=GvTZ2Huo0T4

  • JavaScript to make button invisible button visible again

    Hi
    I have been trying to create a form in LiveCycle Designer (part of Acrobat Pro ) that keeps a button (call it #1)invisible until another button (call it #2) is clicked, at which click event the invisible button(#1) becomes visible. I've been using JavaScript and either setting the #1's presence as "invisible" in the object editor or scripting it as a formready event presence = "invisible". I've scripted in the click event for #2: #1.presence = "visible". This doesn't work to get #1 to show on #2's click. I've tried a few more similar script with no success.
    I'm relatively new to Designer, though have some experience with JS.
    Is there another way to script to initially make an object "invisible" and get it to become visible by a runtime event?
    I would appreciate any help.
    Kind Regards,
    Stephen

    Template needs to be saved as Dynamic in order to see those dynamic features working. You have that saved as Dynamic and still have no luck try the following....
    #1.presence = "visible";
    xfa.layout.relayout();
    Note: 1. A button name can not start with "#" hope you are using some meaningful names.

  • How do you make invisible folders visible

    how do you make invisible folders visible? My hard drive icon will not show up? I did not set-up this computer.

    The instructions I provided have nothing to do with Time Machine. Did you try what I suggested? If you select the "alias" file then CTRL- or RIGHT-click and select Show Original in the context menu.
    Maybe it would be helpful if you were to provide a more complete description of this issue.

  • Making invisible folders visible

    How do i make invisible folders visible?

    Open the AppleScript Editor in the /Applications/Utilities/ folder and run the following exactly as written below:
    tell application "Finder" to quit
    do shell script "chflags nohidden " & quoted form of POSIX path of (choose folder with invisibles)
    delay 2
    tell application "Finder" to run
    To change the global setting instead of making single items visible, replace the second line with:
    do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
    (89379)

  • Cannot see my picture stream on iPad with IOS 8.1.3. Pics from iPad are uploaded and visible on picture stream on iPhone 4, IOS 7. Is this a bug?

    I cannot see my picture stream on iPad with IOS 8.1.3. The pictures  from iPad are uploaded and visible on picture stream on iPhone 4, IOS 7. Is this a bug with IOS 8.1.3?

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    iOS: Troubleshooting Messages
      iOS: Troubleshooting FaceTime
    - Sign out and then sign back into Messages and FT. Note you will lose all messages presently on the iPod
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       

  • In FM 8 and 9, Xref generated text invisible and xref is reported broken

    Hi all,
    We were working in 8 and now in 9, and have not been able to solve this problem:
    For xrefs to another document, the generated text (based on the srcfile attribute) is correct in the XML.  When we open it in Frame, sometimes it is invisible and also reported as broken. When you double click on it, Frame opens the target document of course, and we can see that the reference is indeed properly set.  If we click "Replace" in the xref dialog box to reset it -- even though there is nothing to reset --  the text does appear. We save and close, then reopen, and it is there.
    But then it disappears again in subsequent uses.  References that we have set and reset continue to disappear and report as broken. Entire books that had no broken xrefs last week now have a raft of them.
    This is an irritant when working, but critical when generating a PDF -- as of course, the text just doesn't show up.
    Has anyone experienced xrefs that seem to continually break, along with disappearing text? Sorry I can't provide any more information than this: I am truly stumped.
    Thanks,
    Shelley Hoose
    Rogue Wave Software

    Hi Shelley,
    I work with xrefs in a similar fashion, I think, so I have a few comments in addition to what Lynne posted. In particular, these sentences in your post confused me some:
    "For xrefs to another document, the generated text (based on the srcfile attribute) is correct in the XML.  When we open it in Frame, sometimes it is invisible and also reported as broken."
    The "generated text" of an xref is not typically stored in an XML representation, unless you have some kind of special setup. The srcfile attribute will store the filename and the target element ID of the xref only, expecting that when reopened in Frame (or some other XML processor/publisher) the text will be requeried from the target doc and regenerated at the xref instance. For this reason, if you open an XML file with this type of xref, it cannot regenerate the text unless the target document is already open (that is, Frame won't automatically attempt to open docs just to discover the text for xref targets). So if the target doc is not currently open, the xref shows up with no text... just an xref object but it is still technically "resolved."
    When this happens, it's like Lynne says... you'll need to do some kind of update action to force a regeneration. I use the book update utility to do this for a batch of files.
    Another thing... I don't ever get these xrefs "reported as broken." I do see that the structure view omits the IDReference attribute until an xref is updated (FM7), which can show up as invalid if your EDD requires the attribute. I don't know why it works this way, but it doesn't seem to affect my workflow. Internally, the xrefs remain valid, as shown when you double-click one and see it resolved in the xref dialog box. I can open and save XML files with xrefs in this state without any problems, including the proper writing out of IDReference attributes even if they don't appear in the Structure View.
    I hope this helps some.
    Russ

  • [svn:fx-trunk] 7073: When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.

    Revision: 7073
    Author:   [email protected]
    Date:     2009-05-19 08:27:59 -0700 (Tue, 19 May 2009)
    Log Message:
    When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.
    QA Notes:
    Doc Notes:
    Bugs: SDK-19717
    Reviewers: Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19717
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

    Revision: 7073
    Author:   [email protected]
    Date:     2009-05-19 08:27:59 -0700 (Tue, 19 May 2009)
    Log Message:
    When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.
    QA Notes:
    Doc Notes:
    Bugs: SDK-19717
    Reviewers: Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19717
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

  • Published and visible to all readers

    Since we went live few weeks ago, I'm getting some weird messages on SP2010 Publishing site, every time someone sends a page for approval I see a blue bar with the message: "Status:
    Published and visible to all readers", but the page is not approved, and the approvers cannot approve the pages. They just get an "Unpublish" button.
    Also, from time to time I'm getting error messages saying I don't have access to the pages even tough I'm the administrator.
    The funny part is that I don't have any issues when I access the site using the internal address http://myserver - It only happens accessing the domain name www.myserver.com wich works
    just fine if I don't log in.
    Also, I'm running 3 other public-facing sites and I don't have any issues on them. Page approval process works perfectly.
    I've done my share of online searching and I cannot find any related issues. Is it AD? Is it the network or maybe a setting I missed on SP2010? 
    BTW, I'm running SP2010 with plenty of hard drive space and memory and no errors showing up in the logs.

    I still have the same issue.
    The alternate mappings are correctly configured.
    When I access the www.mysite.com I receive access denied. But when I access internal address http://sp2010 I have no issues.
    For some reasons "Quick Deploy Items" list ID shows in the URL access denied page. When I refresh the access denied page another list ID shows in the URL which points to Pages list.
    I've checked the Pages list permissions and I don't see any issues.
    Another interesting fact is that when I access first www.mysite.com and try to log in I get access denied. And then I open another tab and access the same site but internally http://sp2010 which always works. Then I go back to www.mysite.com tab
    and if I refresh it, I don't get access denied anymore.

  • My status is set to available, but nobody can see me on their buddy lists, therefore I must initiate all conversations and video chats. How can I fix this? I am not on invisible and am not logged in from anywhere else.

    My status is set to available, but nobody can see me on their buddy lists, therefore I must initiate all conversations and video chats. How can I fix this? I am not on invisible and am not logged in from anywhere else.

    Hi
    It would be helpful to know which iChat version and what type of Account you have ?
    9:33 PM      Monday; August 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • "_visible" and "visible"...

    Hi there!
    Could somebody explain the difference between "_visible" and
    "visible"?
    Regards,
    Gerry

    In regards to what? AS2 vs AS3? And there's really no
    difference...except
    for the _. In AS2 some components used visible, whereas
    everything else uses
    _visible, but that's just an API difference in the component.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Components going awry once made invisible and then back to visible....:(

    Hi everybody out here...........this is my 1st post here n am looking forward to getting my queries answered perfectly through your expertise..........:)
    actually i was trying my hand at making JToolBar s invisible n then back to visible again through clicking a particular JMenuItem in the window. It was working great till I made them to be visible again after making them invisible first. The moment i clicked onm the JMenuItem to make it visible again, it seemeed like nothing happened. but once I brought the cursor to the toolbar region, the buttond on it started appearing as I hovered the mouse over them.
    My query is, why are the buttons not being visible when I make the toolbar to appear again?
    I searched the forum regarding this particular problem and found a few posts but thanks to my 'overwhelming knowledge' in java, i failed to understand what I need to do..........do i need to validate? what about the drawComponents() method?
    plsss help me out of this problem...........awaiting your response....:)
    regards.

    this is my 1st post here n am looking forward to getting my queries answered perfectly through your expertiseWell, then now is a good time to learn the better way to ask a question is you want the best possible answer.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • All invisible items visible now - What to do?

    Greetings everyone,
    All of a sudden all the invisible items at the root level of my HD have become visible, stuff like "bin", "sbin", "Volumes", "etc", "dev" and so on... are now visible, my guess is they are system files, and not to be tampered with...
    But how did they show up?
    How can I make them "invisible" again? do I have to reinstall OS X?
    Thousand thanks in advance,

    Hi, no you don't have to reinstall Mac OS X
    Just download the free OnyX and ther eis a option to turn supposed invisible items back to what they are supposed to be.
    The automation once a month can clean things up a bit too
    http://www.apple.com/downloads/macosx/systemdiskutilities/onyx.html
    Oh by the way I'm hoping your cloning that boot drive occassionally in addtion to backing up files
    http://homepage.mac.com/hogfish/Personal11.html

  • How to Make An Invisible Purchase Visible?

    I just purchased an album from the iTune store that is invisible in my iTunes Music Library, even though it can be located (and played) with Finder in my Music folder as well as in the Purchased tab of iTunes.  The album is visible in the Music sections of all my IOS devises (iPhone, Apple TYV, etc.).  How can I get it to show in my iTunes Music Library?

    I did, as well as the names of individual songs on it all to no avail.
    However,I did find a fix: 
         I closed iTunes. 
         i then went over to one of the songs in Finder, and double clicked it.  iTunes opened, but nothing else happened. 
         I repeated both of the above steps, and ths time iTunes started playing the song; and while it played the album and all the songs appeared in my iTunes Music library. 
    I closed iTunes, and reopened it again (without Finder).  And, the invisible album was still visible.

  • Halloween Invisibles and Design Mode

    Hmmmmm.....3.1.681
    I programatically make a button visible/invisible via:
    setOldPart_btn.setVisible(false);
    and this works fine when I run the application. ( The default is invisible on instantiation of the frame )
    But... SURPRISE... when I am in the IDE and go to the DESIGN MODE, the button shows up in the structure pane (as text) BUT IT'S GONE FROM THE DESIGN MODE frame! And I while I can pick it from the structure pane and see the properties... it doesn't appear in the Design Mode frame and I can't find a property to make it visible again from the IDE.
    Suggestions?

    Hmmmm... is this "traditional" in other application development tools, where an "invisible" component is also invisible on the IDE's "form designer"? I would have thought that invisible components would show up for the developer?
    I judge from your response that 5.0 will have the 'visible' property for editing, but by default the component still wouldn't show in the DESIGN frame?
    grin It kinda makes sense, depending upon ones point of view.

Maybe you are looking for

  • Commit after a select query

    Do we need to commit after a select statement in any case (in any transaction mode)? Why do we need to commit after selecting from a table from another databse using a DB link? If I execute a SQL query, does it really start a transaction in the datab

  • Component included in SAP NetWeaver Foundation for Third Party

    Hi Experts, Now, our team discussing on how we can use integrate based on ABAP Technology to integrate Enterprise Systems. Then, we discovered the License, that SAP delivered, "SAP NetWeaver Foundation for Third Party". I heard this license allows cl

  • Urgent help on dba

    Hi friends Please let me know the major difference between oracle 9i dba and oracle 10g dba thanks

  • Hp pavilion 15-n203sx notebook pc Bluetooth Peripheral Device‎ driver for win 7 64 bit

    Hi , Kindly i have problem with Blutooth driver after i install the driver it's still gvin me on divace manger under the other device there is bluetooth Perpheral device driver not found this issue only came to me when i change the wind from wind 8 t

  • Categorizing with formula field

    Hi, I need to build a crystal report that is proving to be a little complicated for my level of expertise and I need help !! The 3 key fields in the report are job code, pay code, and hours paid. I need to categorize Job code and pay codes into diffe