Reset pop up button

Hi
I have two pop up buttons that when"theMachine" and "theEnve" are selected it will after "info" is clicked display a text field with information in it, the pop up buttons have titles that I wish to have reset to their opening state, after the the "info" button is clicked.
I cant locate much to do with pop up buttons especially when trying to reset them, is their a way to do this?
on clicked theObject
if name of theObject is "info" then
tell window "main"
set theMachine to name of current menu item of popup button "theMachine"
set theEnve to name of current menu item of popup button "theEnve"
(* Information Results *)
if (theMachine is "1") and (theEnve is "A") then
set content of text field "myDialogText" of window "myPanel" to "BLAH"
end if
end tell
end if
end clicked
Cheers
Budgie

if you meant reset to the first item of the pop up buttons, then you can do:
set current menu item of popup button "theMachine" to first menu item of popup button "theMachine"
set current menu item of popup button "theEnve" to first menu item of popup button "theEnve"

Similar Messages

  • How to use same actions for differ pop-up buttons

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi ,
    u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
    regards
    Yash

  • How to Reset a Radio Button

    Hello,
    I have a radio button that uses a named LOV, with values High, Low, Medium. I want to be able to reset the radio button. I have tried this:
    onchange="$s('P5_RISK', '')"When I click on the selected button, it resets the radiogroup, but when I try to select another button it does nothing. I would like to be able to have the option of selecting a radio button or not. Please advise. I am using APEX 3.2.
    Thanks,
    Mary
    Edited by: MaryM on Aug 24, 2010 7:59 AM

    Jari,
    I tried the below code. It has a little bug with it, though. I am able to click and unclick high, medium, low. But when I click on one of the radio buttons and then click the next field, the radio button loses its state and displays as if nothing was selected. The button's source is an sql query.
    onChange="$f_CheckAll(null, false, $x_FormItems('P16_DFCY_NON_RESLN_RISK', 'radio'));"I placed this in the HTML Form Elements section of the radio button. Please let me know if I entered something incorrectly.
    Thanks,
    Mary

  • Pop-up button issue: Mac vs PC

    Hello-
    I'm creating an interactive form for my company and having an issue when the pdf is used on a PC. 
    Here's the run down:
    First off, this is my first attempt at creating an interactive pdf so please forgive any incompetence on my part. 90% of the form was created in InDesign and the rest finished in Acrobat on a Mac.
    The form itself has many roll-over and pop-up features so that definitions or additional information can be accessed by hovering the cursor over particular fields. I have gone over the tab order in detail and am certain that all pop-up buttons have been set up so that they do not interfere with any text fields.
    Here is the form when first opened:
    And here is how the roll-over function works (without issue on my Mac):
    Note that the trigger in this case is also a text field where the project name is typed.
    Now, when the pdf is opened on a PC (using Acrobat Pro 9 on a Windows 7 machine) this is what happens:
    The text that appears in the pop-up button then appears in the following "submitted by" text field and will not go away—it cannot be selected, deleted or otherwise modified.
    I have tested this form extensively on my Mac and have not had any issues. Any suggestions or ideas as to why this would be a problem when the same pdf is opened on a PC?
    Any help would be greatly appreciated!
    Trevor

    Hello-
    I'm creating an interactive form for my company and having an issue when the pdf is used on a PC. 
    Here's the run down:
    First off, this is my first attempt at creating an interactive pdf so please forgive any incompetence on my part. 90% of the form was created in InDesign and the rest finished in Acrobat on a Mac.
    The form itself has many roll-over and pop-up features so that definitions or additional information can be accessed by hovering the cursor over particular fields. I have gone over the tab order in detail and am certain that all pop-up buttons have been set up so that they do not interfere with any text fields.
    Here is the form when first opened:
    And here is how the roll-over function works (without issue on my Mac):
    Note that the trigger in this case is also a text field where the project name is typed.
    Now, when the pdf is opened on a PC (using Acrobat Pro 9 on a Windows 7 machine) this is what happens:
    The text that appears in the pop-up button then appears in the following "submitted by" text field and will not go away—it cannot be selected, deleted or otherwise modified.
    I have tested this form extensively on my Mac and have not had any issues. Any suggestions or ideas as to why this would be a problem when the same pdf is opened on a PC?
    Any help would be greatly appreciated!
    Trevor

  • My iPod touch isn't working correctly.it is displaying a white light and no matter what i try it isn't helping.tries holding the reset and power button together and tryed holding the power button in but it doesn't work. please can someone help?

    my iPod touch isn't working correctly.it is displaying a white light and no matter what i try it isn't helping.tries holding the reset and power button together and tryed holding the power button in but it doesn't work. please can someone help?

    Try the remaining items in the white-screen topic of.
    iPod touch: Hardware troubleshooting
    If not successful. let the battery fully drain and then charfe for an hour and try again.
    Frequently a white scree nis due to a hardware problem.

  • Personalization 'Reset All Properties' button

    Hello, esteemed Portal experts,
    When I click the 'Reset All Properties' button of my personalization window, I get the following error:
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.sap.portal.appdesigner.framework.profile
    Component Name : com.sap.portal.appdesigner.framework.profile
    PlAttribute: there is no value to this attribute.
    Exception id: 02:12_14/06/07_0005_11991350
    See the details for the exception ID in the log file
    Can anyone give me some insight?

    I have discovered that the 'Reset All Properties' button is not working because the iView is launched using the Navigation Target method:
    a href="/irj/portal?NavigationTarget=ROLES://portal_content/YourRoleID/YourWorksetID/YourPageID/YouriViewID" target="_top"
    Using this method causes the top level navigation to be updated:
    EPCM.raiseEvent("urn:com.sapportals:navigation", "UpdateTLN", "ROLES://portal_content/YouriViewID")
    For some reason, the iView personalization 'Reset All Properties' button loses its association when this happens. The 'Apply' and 'Cancel' buttons continue to work properly, though.
    Does anyone have an idea on how to work around this?

  • Safari Pop up buttons / javascript

    I want to be able to select a specific item in a list of a pop up button in safari, i can do it by using a repeat statement and get value of button, with key codes simulating down arrow. This is tediously slow to the say the least. When i go view source of the page there is an identifier for the option i want, option value="f724". Is there a way to set the value of the pop up button to this number, i cant seem to do it. I was reading around the forum and found some mentions of the term do javascript but i have no idea how to implement it in this case, or if it at least possible.

    My search_replace(x, y, z) subroutine was a very basic attempt at encoding the URL properly. As it happens omitting the handler entirely and just setting keyword to text returned of result works the same in this case. The spaces get replaced with %20 by default, and the Discussions search app doesn't seem to mind.
    This style of search & replace is known as a "text item delimiters" or TIDs for short. You may have heard of a tab-delimited file. These contain cells of information separated by tabs. In the case of AppleScript's text item delimiter, we can set it to tab or any other character, and then ask for a string's "text items" provided in list form. So the steps taken by the handler in pseudo code are:
    1. Pass the text returned of the display dialog command to the search_replace handler, along with the search string "space" and the replace string "+"
    result: {"yellow fever", space, "+"}
    2. save whatever the current value of text item delimiters is
    This is to avoid potential conflicts with other code that may be using the delimiters property.
    result: {"[… anything]", ""}
    3. change the value of text item delimiters to space
    By defining " " (space) as a delimiter, we are effectively stripping every occurrence of the space character out of our string. This is because it can now be seen as a special delimiter character, as opposed to a literal one.
    4. get the text items of our string as a list
    result: {"yellow", "fever"}
    5. change the value of text item delimiters to the + symbol
    While our text string is a list, we are going to be sneaky and change the delimiter property from space to plus sign, like the one found in our original URL at Apple Discussions.
    6. coerce the list of text items back to a string
    When AppleScript coerces a list into a string, it automatically inserts the delimiter character you have defined in between each item.
    result: "yellow+fever"
    7. set the delimiter back to the way we found it in step 2
    The way I've written all this in actual code is highly abbreviated. To help read it easier remember that I'm addressing a reference to the delimiters, so every time you see the word "contents," that is referring to the text item delimiters. Also note that
    set {a, b} to {"a", "b"}
    is the same thing as
    set a to "a"
    set b to "b"
    The only difference is that the former is written in one line, and the latter is written on two lines.

  • Vertical column pop-up button-"OPEN"-with left " " appears-bottom right corner Firefox screen-Independent of web-site visited-Am "secured" against virus-Have not touched button: "Danger, Will Robinson." Appreciate any help. Thnx. DanDeren

    Occasionally and sporadically - I cannot reproduce this issue - a small vertical column-ed pop-up button appears in the lower right corner of my (Firefox) browser screen. It is not clear what causes this - I thought perhaps that it had something to do with Google's new gmail format which I have, so far refused to adopt, although when it forces me to do so, I Accept and then re-configure back to the old look. I don't think the problem is with gmail, though since tonight I was accessing the New York Time subscription web-site. However, tonight - 31JAN2012 - this button popped up, stuck around for maybe 30 seconds and then went away. It is small - about a quarter inch wide; perhaps one-half to three quarters of an inch tall. It displays on the top of the button the "<" followed underneath by the word "OPEN" (displayed vertically). I know better than to push an OPEN button whose function is absolutely opaque to me - fool me once... My desktop has the latest version of Firefox - 9.0.1 and I just loaded the latest update. I am running Windows XP Version 5.1 (Build 2600.xpsp_sp3_gdr.111025-1629 : Service Pack 3). Further info re. operating system: Microsoft Windows XP Home Edition Service Pack 3 - that was probably pretty clear from the Version and Build info above. Hardware: ACER-42041E6643 - ACPI Multiprocessor PC - Chip/Processor: Intel Atom CPU 230 @ 1.60 GHz (2 of these). I can provide more system and configuration information, as necessary. As it is, I go to System Info and it will not let me copy all of the system info above - I had to copy it brute-force manually. I have managed tech support organizations in the past. The first question you ask the user is: "What changed?" or perhaps "What did you change?" Like every other user with an issue, my response is: Nothing of which I am aware. I certainly am not going to push this button - perhaps it toggles between something and something else - more than like so - or it opens "something" - I will not find out what since I refuse to push it. I am guessing this is some benign "feature" of which I am unaware. Any assistance with this will be greatly appreciated. Thanks and best, Dan Deren.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).

  • Pesky "Connection was reset" pop-up when trying to access a website using WildBlue ISP (at home). Website loads without issues on other ISPs

    About two weeks ago (approx the time of my update to Firefox 3.6.8 for Mac), I started getting "The connection was reset" pop-ups whenever I tried to access a site called wanderlodgeownersgroup.com from my home (using WildBlue satellite internet service).
    I took my computer to the library yesterday, and using their ISP, I was able to connect to this favorite site of mine.
    I have cleared the cookies and cache a number of times.
    Any ideas what the trouble could be?
    Thank you !!!

    I'm not clear on where you are seeing that text. When I view Google's cached page from the page found in this search
    https://www.google.com/search?q=site%3Asitetrail.com%2Faskearth.com
    It doesn't match yours exactly. There is an iframe with a Google map in it in the "Hosting Analysis" section, which in your pasted page seems to be the "Site Server" section.
    Which Google site did you search?

  • Request more info for how to offer a 'Reset to Default' button for portlets

    Hi,
    I would like to provide a 'Reset to Default' button for the customization function of my java portlets and URL portlets. However, I don't know what necessary codes do I need to write or to include to enable such function? Would anyone help to give me some guideline? If possible, would you please give me some code sample?
    Thanks a lot!

    you either have to code for everything to reset or you can reload your current page:
    loadMoveNum(this._url,0);

  • Where is the "reset product download button"?

    I got "Error downloading this product...."  Message says I can use "Reset product download button".  Where is this button?

    What exactly are you referring to? What are you trying to download? Using what means? Onto what system? When does the error come up?
    Mylenium

  • How do I disable "The connection to the server was reset" pop-up

    How can I disable the "The connection to the server was reset" pop-up message in Firefox?
    To my eyes, the webpage loads fine, so I don't give a hoot if the connection reset. Sometimes this 'stupid' message pops up 4-5 times on a single webpage, and then I MUST close every pop-up before I can navigate anywhere else. It is a real pain in the...

    Which security software (firewall, anti-virus) do you have?
    See also:
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can
    See:
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/Server+not+found
    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that works.

  • Trying to reset a radio button

    Hi Experts,
      I am trying to modify the Bank application in ESS. In there, I have a drop down and a group of radio buttons by Index. When users select "Check" from the drop down, I would like "Paper Check" button to be selected. When users select "Direct Deposit" from drop down, I would like "Checking" radio button to be selected. I have tried a lot of different ways, but it does not work. Any help will be greatly appreciated.
    Thanks a lot
    Preet

    Thanks for taking time to answer my question. I am using NWDS to modify the code. I was looking for an actual code sample which will reset the radio buttons.
    Thanks
    Preet

  • Reset to Defaults button in JSP portlet missing?

    Is there a reason why a customize page for a JSP portlet doesn't show a Reset to Defaults button? The PortletRendererUtil.renderCustomizeFormHeader() displays the Apply, OK, and Cancel buttons, but not Reset to Default. Is this just an oversight or is there some way that I haven't found to get it to display that button as well?
    Thanks!

    It's possible the default implementation does not include revert to default. You could subclass and include it.

  • Pop-List button

    Hi,
    I am generating Forms application (iAS).
    I would like to change view of pop-list button from arrow to "...".
    I know that there is something Jinitiator.
    How can I do that ?
    regards,
    Cezary

    Set app.ui.lovButtons to false. Then add a button to the canvas right next to the item. Set iconic to Yes and the Icon Filename to the name of your .gif file that contains the icon that you want to display on the button. For example, if your filename is list.gif, you would set IconFilename to list.
    To deploy the icon file, there is some configuration that must be done on the middle tier. There is a white paper on OTN that explains how to do it: http://www.oracle.com/technology/products/forms/pdf/webicons.pdf.
    If you want to have the button only visible when navigating to the text item, you can use Pre-Text-Item and Post-Text-Item triggers on the text item to make the button visible/not visible.

Maybe you are looking for

  • Dump while running a program with OLE Excel download facility in ITS

    Hi, Because of some complex requirment, I had created a report program which will download the data to an Excel sheet using SAP OLE Automation Controller. For this report i had created a tcode too. The report which i developed is perfectly working fi

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview Hello all, I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview. Although the submit and t

  • Webi refresh from Excel

    Hi All, I have created a universe based on an Excel file with columns as Material Number, Order Qty, Status and am reading this data from a Webi report. The data seems to be showing correctly the first time I create this new Webi and read data. If I

  • Class diagram for database objects.

    Hi, I am creating a diagram from the tables in the database in Oracle Jdeveloper 10g. This will basically give me a ER diagram. When I drag and drop a table - say EMP - i get a window - "Create from database object" - which gives me a few options. I

  • My rotor just stopped working but has power help

    My wiresless rotor has worked and just stopped. We have tried to reset, unplugged and turned off all computer as we have in the past but it still doesn't respond yet all the normal lights are on