Option button help

I have a form with 3 option buttons in a group "Requested_Action" Choice1 - Choice3. I have another option button group and when I select one of the choices in the other group I want to lock choice 3 here's what I have so far:
if ( this.getField("Requested_Action").isBoxChecked(0) || this.getField("Requested_Action").isBoxChecked(1) || this.getField("Requested_Action").isBoxChecked(2)){
    // Look for a match of the output/export value of the checked radio button
          // and set the value of FR_ALERT
          if(this.getField("Requested_Action").value == "Choice3" ){
                    this.getField("Requested_Action").value = false;
   this.getField(.......).locked = true;
I dont know how to look at only choice3 in the group of option buttons. Is there a way to designate both the group and choice of the option button?
Thanks!

The "isBoxChecked" can be tricky. You can test the values of an exclusionary group's value. It will be "Off" when no item is selected and it will be the optional/export value when a check box or radio button is slected. You can also check an item or uncheck all items with this inforamtion.

Similar Messages

  • My iPhoto book making process lost an option button, help?

    Hi, I have now ordered 3 medium softcovered books. After I placed these orders I realized that I should have increased my preference settings to the 300 dpi as suggested by many on this discussion board. So, I have since done so.
    Now when I go back into iPhoto and attempt to make an album one of the option buttons along the bottom, (just to the right of the "Page Type" pull down menu) has disappeared. It used to give me options as to how many photos, caption, colors of page to choose from.
    I am wondering if changing the preference setting could be at all the culprit? I am perplexed as to why this would have happened?
    Any knowledge would be appreciated. I do see that the "Page Type" pull down menu has some of these choices, but the other button had more options and I miss it.
    Thank you!
    iMac   Mac OS X (10.4.3)   800 MHz PowerPC G4, memory 512 MB SDRAM
    iMac   Mac OS X (10.4.3)   800 MHz PowerPC G4, memory 512 MB SDRAM

    Judy,
    To the right of "Page Type" are there two little arrowheads pointing to the right? If they are there, click on them and you will get a drop down menu with the options.
    Hope this helps!
    Karen
    iMac G3 450MHz   Mac OS X (10.4.3)  

  • In iPhoto '11 I cannot change the book settings. For example, adding page numbers. There is no "option" button as is suggested by the help item.

    In iPhoto '11 I cannot change the book settings. For example, adding page numbers. There is no "option" button as is suggested by the help item. How can I change to book settings?

    The "options" button should appear at the bottom of the iPhoto window, when you view your book, then the Book Settings Button should be available and you can activate page numbers.
    But remember, that the settings available will depend on the Book Theme you selected. The above shows the settings for one of the "Travel" themes. In a Picture Book Theme, e.g. you cannot add page numbers.
    What theme and book size are you using?
    Regards
    Léonie

  • Why Apple doesn't provide options in IOS to power off, reset, standby ipad/iPhone/ipod ? I don't se this opiton in IOS6 as well ? This option will help to avoid pressing power button less number of times and gives better user experience.

    Why Apple doesn't provide options in IOS to power off, reset, standby ipad/iPhone/ipod ? I don't se this opiton in IOS6 as well ? This option will help to avoid pressing power button less number of times and gives better user experience.

    They do.
    Standby = press the Power button
    Power off = Press and hold Power button then slide the red power off slider.
    Reset = Press and hold both Reset adn Home till you see the Apple logo.
    This option will help to avoid pressing power button less number of times and gives better user experience.
    Because it is better to not push the power button and more enjoyable to not push it?

  • Need help with dialog option buttons

    I am trying to make a program with a menu displaying several buttons that the user can select. I've been following the "How to Make Dialogs" tutorial but the window becomes extremely long when the buttons are displayed horizontally in the same row and there doesn't seem to be a way to make the option buttons display vertically in a column rather than horizontally in a row with JOptionPane. Is there another way to do it?
    URL for tutorial: http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html

    Here's a simple example of what I mean. If you go my route, you'll understand how to do this. If on the otherhand you do rgjonathan's suggestion, you'll lose out and be forced into whatever pigeon-hole that NetBeans forces you into:
    DialogExample.java: a class that creates a JPanel with vertically stacked JButtons. This JPanel can easily be placed within a JDialog.
    import java.awt.GridLayout;
    import java.awt.Window;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JPanel;
    * creates a mainPanel that can be used in a JDialog
    * @author Pete
    class DialogExample
        private JPanel mainPanel = new JPanel();
        private String buttonStrings[] =
            "Fubar", "Snafu", "Bohica", "Subar"
        private String actionCommand = "";
        public DialogExample()
            mainPanel.setLayout(new GridLayout(0, 1, 10, 10));
            mainPanel.setBorder(BorderFactory.createEmptyBorder(15, 15, 15, 15));
            for (int i = 0; i < buttonStrings.length; i++)
                JButton btn = new JButton(buttonStrings);
    mainPanel.add(btn);
    btn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    actionCommand = e.getActionCommand(); // set actionCommand field
    Window window = (Window)mainPanel.getTopLevelAncestor();
    window.dispose(); // close this window
    * @return a JPanel that can be used in a JDialog
    public JPanel getMainPanel()
    return mainPanel;
    * @return String: actionCommand corresponding to the button pushed
    public String getActionCommand()
    return actionCommand;
    }DialogTest.java:  creates a trivial JFrame with a JButton that when pressed creates a JDialog with the JPanel from the class above.  Gets the name of the button pressed in the dialog and prints to screen.import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    public class DialogTest
    private static void createAndShowGUI()
    final JFrame frame = new JFrame("Test");
    final DialogExample dialogEg = new DialogExample();
    JButton openDialog = new JButton("Open Dialog");
    openDialog.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent arg0)
    boolean modal = true; //modal dialog or not?
    JDialog dialog = new JDialog(frame, "Dialog", modal); // construct dialog
    dialog.getContentPane().add(dialogEg.getMainPanel());
    dialog.pack();
    dialog.setLocationRelativeTo(null);
    dialog.setVisible(true); // show it
    System.out.println(dialogEg.getActionCommand()); // find out which button pressed
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().add(openDialog);
    frame.pack();
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
    public static void main(String[] args)
    javax.swing.SwingUtilities.invokeLater(new Runnable()
    public void run()
    createAndShowGUI();

  • After installing or upgrading to Firefox 31, starting Firefox does not show homepage, customize shows a blank page and the option button does not work

    I am the Windows admin for a university department and install PCs with Firefox all the time. This problem does not happen with every PC I maintain, only a select few (different model laptops with Windows 8.1 and update 1.) Until today, it only happened with new user accounts (with admin rights) that I setup on the laptops for our staff. Today this happened with The Administrator account while setting up a new laptop. In all cases so far, I install Windows from a saved image that was created using sysprep.
    I have tried the many suggestions of resetting Firefox, deleting the users Firefox profile, deleting the users Windows profile, uninstalling/reinstalling Firefox, uninstalling/reinstalling Firefox and the latest Java, but nothing helps. After uninstalling, I run an app to delete temp files and caches and will even manually remove registry keys HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. Plus I reboot and make sure the install folder is deleted after uninstall.
    Results are the same: after installing Firefox 31, the initial setup window for migrating IE and/or Chrome pops up and after clicking the Finish button, Firefox starts, but does not show the initial new user page, only a blank page. Clicking on the Options button (3 bars) does nothing. Right-clicking in the proper area, the popup menu appears so I can choose to Customize, but that only opens another tab with about:customize in the URL and the page is blank. From the right-click popup menu, I can enable the Menu Bar and get to Options from that.
    My latest attempt has helped a little. I uninstalled Firefox 31, cleaned up, deleted user Firefox profile, rebooted and then installed Firefox 30. Inital startup runs, and tells me I'm not up to date, and the Options button works. But I still cannot customize.
    I then upgraded to Firefox 31, but then it's back to no startup page, no options button and no customize. I can downgrade to 30 and get all but customize working again.
    Only Addon is one for McAfee Scriptscan for Firefox 15.1.0, which just after installing is disabled.
    Any help would be appreciated. Thank you.

    Ok. I disabled hardware acceleration. The only extension is the McAfee Scriptscan for Firefox 15.1.0, which was already disabled. I then disabled all plugins (Acrobat, Google Update, Intel Identity Protection (2x), Java Deployment Toolkit, Java Platform, MS Office 2013, Quicktime, Shockwave, Silverlight), which were all up to date.
    Normal or safe mode still has same result. No startup, no option button and no customize.
    Thanks for your help. Got any other suggestions?

  • How to get the current selected value of a combo box or a option button?

    Hello All,
    I want to catch the current selected value of a combo box and also of a option button and want save it into different variables in my code. These option button and combo box are in a SAP business one form which I have created through VB dot.net coding.
    But I don't know how to do that, can any one send any example code for this.
    Regards,
    Sudeshna.

    Hi Sudesha,
    If you want to get the selected values you can do it as follows: The Combo Box value you can get from the combo box. If you want to get it on the change event, you must make sure that you check when BeforeAction = False. If you want to get an Option Button value you should check the value in the data source attached to the option button.
            Dim oForm As SAPbouiCOM.Form
            Dim oCombo As SAPbouiCOM.ComboBox
            Dim oData As SAPbouiCOM.UserDataSource
            oForm = oApplication.Forms.Item("MyForm")
            oCombo = oForm.Items.Item("myComboUID")
            oApplication.MessageBox(oCombo.Selected.Value)
            oData = oForm.DataSources.UserDataSources.Item("MyDataSourceName")
            oApplication.MessageBox(oData.ValueEx)
    Hope it helps,
    Adele

  • Have you chosen only one option button at a time

    Hi...
        I have got a problem while working with the option button in screen painter.I have three option buttons. In Run time, I want to select only one option button, mean while the other two option buttons should not be selected.
    ~
    Thank You in Advance
    Roseline Christina. B

    Hi,
    Please check the following
    To select an OptionBtn item, the item must be bound to a data source (UserDataSource or DBDataSource) using OptionBtn.DataBind
    The following is the sample to add 2 option buttons and group them.
    Dim optBtn As SAPbouiCOM.OptionBtn
        Dim oFrm As SAPbouiCOM.Form
        Dim oItem As SAPbouiCOM.Item
        Dim oUserdatasource As SAPbouiCOM.UserDataSource
        ' set oFrm = ..
        'Option 1
        Set oItem = oFrm.Items.Add("BD_rbRes", it_OPTION_BUTTON)
        oItem.Left = 240
        oItem.Top = 10
        oItem.Height = 16
        oItem.Width = 220
        Set optBtn = oItem.Specific
        optBtn.Caption = "Button One"
        Set oUserDataSource = oFrm.DataSources.UserDataSources.Add("BD_resDS", dt_SHORT_TEXT,1)
        optBtn.DataBind.SetBound True, , "BD_resDS"
        'Option 2
         Set oItem = oFrm.Items.Add("BD_rbPost", it_OPTION_BUTTON)
         oItem.Left = 240
         oItem.Top = 30
         oItem.Height = 16
         oItem.Width = 220
         Set optBtn = oItem.Specific
         optBtn.Caption = "Button Two"
         oItem.Visible = False
         Set optBtn = oItem.Specific
         optBtn.GroupWith ("BD_rbRes")
    Hope this helps,
    Vasu Natari.

  • Re: How to do the validation of option buttons

    If you name your buttons ie. your search withnin results button will have attribute name="searchinresult" then your code can look like:
    if (request.getParameter("searchinresult")!=null) {
    // make the serach in result code
    } else {
    // make new search
    pressing just enter on the text box will invoke "New search"
    Regards

    Thanks for ur reply.Iam unable to get an idea how to code the search in result.Because when i check searchinresult option button the results have to be displayed from the previous search results.So can u help me by validating the code.Pls help me.Iam new to this jsp.Pls ...I hope u can help me.Iam able to get the new search but iam unable to get searchinresult.So pls do me this favour.I will be thankful to u
    Thanks
    Naveen

  • Option button in screen painter

    Hi everyone,
    Can I group option buttons in screen painter? How?
    I have two problems:
    1. The options buttons seem disabled: when i click on them, they aren't checked
    2. I can't group them
    Thanks
    Carles

    Hi
    First bind your option buttons to a same datasource then use the following to group then
    Dim ob1 As SAPbouiCOM.OptionBtn = oForm.Items.Item("ob1").Specific
      Dim ob2 As SAPbouiCOM.OptionBtn = oForm.Items.Item("ob2").Specific
      Dim ob3 As SAPbouiCOM.OptionBtn = oForm.Items.Item("ob3").Specific
       ob2.GroupWith("ob1")
       ob3.GroupWith("ob2")
    Hope this helps
    Regards
    Arun

  • ITunes 12/Gracenote track ID-where is Options Button?

    When I imported some songs from a CD, I didn't retrieve the track info. I'd like to do so now, but I can't find the "Options Button" that Help says should be in the upper right corner of the iTunes window. Does it still exist in iTunes 12.1? Is there another way to do this?
    Thanks to the community!

    Yes it still exist in iTunes 12
    Jim

  • Option Button Databinding in Screen Painter

    What is the correct way to specify Databinding in the Screen Painter for Option Buttons?  I assume that the first button is specified differently than the others, so I will need to know how the settings for the second option button differ from the first button.
    Also, how is the Groupwith property handled with the Screen Painter?

    Hi Bob,
    You need to create a UserData source and bind it to the option buttons you want to link together. Try to do it with screen painter but if it does not work you can go to the generated xml file and modify it by hand.
    The groupwith property is not handled by the ScreenPainter, you must do it in the xml file.
    You have a sample code in the UI API SDK Help.
    Hope it helps
    Trinidad.

  • 'Option' button in Network Preferences (Airport) not responsive...?

    When I select System Preferences.... Network...Airport, the 'Options' button doesn't work. I can click it, but nothing happens. I'm trying to set up my wireless network to connect automatically and I've been told to do it via this button.
    I hope someone can help as it seems a really dumb question to ask!
    Thanx

    Embodybruce, Welcome to the discussion area!
    Does the AirPort card show up in System Profiler?

  • Option button doesn't open iphoto library choices when depressed

    Specs of my Mac are:
    Mac OSX
    Version 10.7.5
    processor 2.4 GHz
    Memory 4 GB
    External Hard drive are:
    WD My Passport for mac 2TB (which I formatted using the disk utility to Mac OS X Extended
    I bought an external hard drive to move my photos from iphoto off my Mac Book Pro (its' about 2 years old) so that I can free up some hard drive space.
    I photo often freezes as I have over 22,000 photos on it. It opens fine though. I tried copying it to the external but when I try restarting it holding down the option button no window to choose the libraray it opens.
    Any ideas why this isnt working?
    Command option does work to repair iphoto but I'm not sure what do with that or if that can help me to fix this problem
    Any suggestions are welcome and appreciated.

    Do not delete anything until you know exactly what you have and what you want to keep
    what exactly is your question?
    you posted
    I tried copying it to the external but when I try restarting it holding down the option button no window to choose the libraray it opens.
    Any ideas why this isnt working?
    I answered
    double click on the library on the EHD to launch it
    and now you ant to trash things which has nothing to do with either post
    you also posted
    External Hard drive are:
    WD My Passport for mac 2TB (which I formatted using the disk utility to Mac OS X Extended
    I bought an external hard drive to move my photos from iphoto off my Mac Book Pro (its' about 2 years old) so that I can free up some hard drive space.
    To do that
    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • Search TV guide options button now inoperable

    In addition to no longer having the ability to search within show descriptions for key words or guests on shows, the options button no longer brings up the choice of upcoming airings on TV vs. OnDemand content.  Using that button while searching now brings up settings of which key board to use?! The options button used to be very helpful to narrow down the search.  Please bring all of the functionality back: searching within descriptions and options of where to search.  Thank you.

    It sounds more that those buttons were added by an extension.
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

Maybe you are looking for

  • Why is a pre-order phone no longer allowed to be shipped to my work address??

    On Friday, April 4, I went into my local Verizon Store (Orlando MetroWest) to pre-order the new Samsung Galaxy S5.  The order was placed and I was given a copy of the receipt which looked very accurate.  The sales rep had read back to me the Bill To

  • Final Cut Server on edit suite?

    We're thinking about purchasing Final Cut Server, but I'm not clear about whether we'll need to put it on a dedicated system or if we could run it on an edit suite. We're rarely going to have more than 3 users at a time using it, and probably 75% of

  • China character set (UTF8)

    Hi All, We have a problem showing report with china character set. We use Crystal Report 9. when I am getting the data from the DB with other application(Oracle SQL developer) I can see the china character well. When I am using Crystal I am getting g

  • CATS transfer - multiple senders & receivers

    Hi, Can anyone let me know how to perform the following scenario in CATS: The business scenario requires a two step process for transferring CATS time data. The first step uses a sending purchase order and purchase order item number, activity number

  • How to install library

    Hi. I have file xerces.jar. In this file - there is library to work with XML parcing. When I work in IntelliJ IDEA 4.5 - I include this library using its(IDEA) Settings AND ALL WORKS!!! BUT when i try to execute my application from command line: java