[svn] 3173: Toggle button would toggle on click even when it was disabled.

Revision: 3173
Author: [email protected]
Date: 2008-09-10 16:35:53 -0700 (Wed, 10 Sep 2008)
Log Message:
Toggle button would toggle on click even when it was disabled. Fix it.
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ToggleButton.as

Hi
   I guess you will be able to create the toggle button.It will not be a big problem.What you need to handle is , you need to identify , in which row the user has clicked.For this in the button action , there is an incoming import parameter WDEVENT..in this , you have a method ..get_context_element() ..which will fetch you the row element selected.
Thanks
Anzy
post if you have any more queries

Similar Messages

  • I download Fruit Ninja but it failed bec of it's MB but I was billed so why would I pay such game when it was not successfully downloaded in my ipad2? If I cud install it then I shall pay the thing.

    I download Fruit Ninja but it failed bec of it's MB but I was billed so why would I pay such game when it was not successfully downloaded in my ipad2? If I cud install it then I shall pay the thing.

    You paid for it because you bought it, there is nothing stopping you from now downloading it. If it is over 20 meg in size then you either need to switch to a wifi network on your iPad (there is a 20 meg limit per file over 3G), or try downloading it on your computer and then either sync it across to the iPad or drag-and-drop it from the Apps library in iTunes over and onto your iPad 'device'.
    If you can connect the iPad to wifi then re-try downloading it (re-downloading) - f it currently shows as 'waiting' on the screen then try a reset and see if it resumes downloading after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I cannot authorize my new computer in iTunes because I hit the 5 device limit. However, I cannot deauthorize the old one because it's gone. I also cannot use the deauthorize all computers button because I did last year when I was replacing computers. Is t

    I cannot authorize my new computer in iTunes because I hit the 5 device limit. However, I cannot deauthorize the old one because it's gone. I also cannot use the deauthorize all computers button because I did last year when I was replacing computers. Is there any other way of deauthorizing computers that no longer exist?

    harishassan16 wrote:
    ... Is there any other way of deauthorizing computers that no longer exist?
    If you no longer have, or access to, the computer(s) you want to deauthorise,
    Log in to iTunes,  go to "view your account info" on the itunes store, deauthorise all five,
    (Please Note: this can only be done Once every 12 months)
    Then re-authorize your current Computer(s) one at a time..
    Authorise / Deauthorise About
    http://support.apple.com/kb/HT1420
    harishassan16 wrote:
    ... I also cannot use the deauthorize all computers button because I did last year ...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Magic Mouse ribght-clicking even when single-click mobe is enabled

    I have a late 2007 MBP. I bought a Magic Mouse today, but when I paired it and downloaded the software for it, when "Secondary click" was not enabled, it would behave as if it was right-clicking. When I enable "Secondary Click", both left and right parts of the mouse right-click. What's going on here?

    Welcome to Apple Discussions.
    If it's under warranty you can either bring it to an AASP or call AppleCare at 800-275-2273. You don't need to bring it into a store if you don't have one in your area.
    Regards,
    Roger

  • Is the W520 supposed to whirrr and click even when completely shut down?

    I just received my W520 (#4270CTO) about 3 weeks ago.  This is my first laptop (to be used for video editing and animation), so I'm not sure what to expect.
    I noticed that when I shut down the W520 (go to "Start" select "shutdown"), it continues to make a very faint whirrr and click noise.  The noise pattern goes like this:  long whirrrr, click, short period of silence, then it repeats.  It does this all the time when the computer is turned off.  Even when I don't use the computer for 2 days, and it is turned off, it continues to whirr and click.  It only stops when I disconnect the battery and reinstall it.  Only then, is it completely silent.
    Is it supposed to do that (the whirr and click all the time)?
    The whirr and click noise is very soft, so you have to lift it up and listen to it but it is audible.  My friend says that it is the hard drive noise, and said it should not be doing that, but he doesn't have a W520, and isn't familiar with it.  So I thought I should ask someone else who has one to see if theirs is doing the same thing.
    I also noticed that the fingerprint reader LED stays lit all the time except for when the computer is on and I'm using it.  It stays green even when the computer is shut down and the lid is closed.
    Please help.  Is my W520 working properly, or should I call for tech support?
    Thanks for any comments and advice.

    The power brick makes no noise.  I am charging the battery now, and the power brick is warm but silent.
    I've only noticed the noise coming from the underside of the computer when my W520 is turned off with the battery still attached.
    If I remove the battery and reinstall it, the noise stops.
    If I plug in the power brick, the noise stops.  (The brick doesn't even have to be plugged into a wall socket.  I could just plug the power brick into the computer without plugging in the other end to a power supply.)
    Of course, if I remove the battery the noise also stops.
    But if I use the W520, then shut it down and leave the battery attached, it will continue to make the faint long whirrr and click noise.  I have let it sit without turning on the machine for 3 days, and it continued to make the soft noise every day.
    I don't suppose your computer makes the same noise.  Maybe my computer really is defective.  It works great otherwise.

  • How do I delete the download button which is next to my home button? I keep clicking it when I want home and it is annoying.

    How do I delete the download button which is next to my home button?

    You can use the Customize feature to move it to a less irritating location. I suggest the Add-on bar if you keep that displayed.
    Start customizing with either of these, then drag the arrow to a new location, or into the dialog to remove from all bars:
    * right-click a blank area of the tab bar > Customize
    * tap the Alt key > View menu > Toolbars > Customize
    You will notice that some of the combined controls split apart in the customize view. If you put anything between them, they won't be able to recombine. (For example, if you separate stop and reload, or put something between back/forward and the URL box.)

  • My 4s will not open in settings and previously it would not accept my password even when I was resetting it on my computer with the iPhone in front of me. How do I fix This?

    My Icloud locked up a week ago and first it kept telling me my password was incorrect so I reset it on my phone and then my laptop top but the phone 4s would never accept the password.  Now in settings, I click on icloud and the settings will not even open up.

    You might try the obvious, although I have seen memory sticks fail.  Good luck.
    1)Remove the memory stick
    2) Shut the computer down
    3) Restart the computer
    4) Login
    5) Re-insert the memory stick

  • My iphone 4 has a broken lock button and wont turn on even when plugged in. How do I get it to turn on?

    I had 67% power at 10 am but when I went to lunch at 1 my phone was dead. I tried plugging it into a power source but it still wont turn on, and as previously stated my lock button is broken. How do I turn it on?

    If that is not successful try the remaining items of:
    Try:
    - iOS: Not responding or does not turn on 
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar 

  • [svn] 3718: Make sure the server is stopped even when a unit test fails.

    Revision: 3718
    Author: [email protected]
    Date: 2008-10-17 13:03:17 -0700 (Fri, 17 Oct 2008)
    Log Message:
    Make sure the server is stopped even when a unit test fails. Thanks to Alex for the fix.
    Modified Paths:
    blazeds/trunk/modules/core/build.xml

    I had the same issue after upgrading from 10.7.2 to 10.7.3 and changing my main SSL cert.
    The solution was to make sure the correct cert was listed in:
    /etc/openldap/slapd.conf
    as well as:
    /etc/openldap/slapd.d/cn=config.ldif
    It looks as though the slapd.conf file gets updated properly when you select an SSL cert in the Server Admin app, but the cn=config.ldif does not. That is the one that was hanging my server up.
    Hope this helps!

  • How to make smart shape buttons turn colors after clicking on them?

    How to make smart shape buttons turn colors after clicking on them?  I am using buttons as links to learning paths and would like users to know which buttons they have allready clicked on when returning to main menu.

    This is reply I got from Adobe support.  I will try and let you all know what works best:
    Here is the workflow which you can follow to achieve this functionality.
    Puspendra: You can choose image button and then choose from the available image buttons, or click on the folder icon when you select the image button and choose from the Gallery of Captivate 6.
    Puspendra: Few image buttons change color on hover or onclicked, these effects are predefined in them.
    Puspendra: Or you can edit that button on which you are working, from properties Panel.
    Puspendra: The Post and Cancel button on this thread seems like a transparent button in Captivate with different fill and stroke color, and transparency is also less, and with corner radius of 0.
    Puspendra: You will find these all optionns, when you will click on that button and then click on the properties panel.

  • Toggle button does not work correctly in project preview

    Hello,
    I am working on a project and recently discovered the "toggle button" advanced action that lilibiri posted (Love the toggle button!!). Initially i had used the rollover funktion but found out via html5 tracker, that rollover is not supported by html5 and tablets. To the problem: When I test the slides individually everything works fine. As soon I preview my project and click on my smartshape buttons that toggle the image/text, the project jumps back to previous slides. Now, i probably do not understand the conditional action in terms of what it is actually telling CP to do. So i am guessing it is a user problem. I would be super greatful to anyone who can help me solve this, since i am bound to a dead line to finish this. THANKS!!
    -N
    Here are some screenshots of the conditional actions (its in german..."Ausdruck" is Expression, "Einblenden" is Show, "Ausblenden" is Hide

    Hello,
    You are mixing up Frames with Slides. Try:
    Expression  cpCmndGotoFrame = cpInfoCurrentFrame -1
    Lilybiri

  • How Do I Make a Toggle Button

    How would I do this?
    I want to create a toggle button, so when the button is in
    it's default position it says "Sound On" and when clicked again it
    says "Sound Off" etc.

    Comp. 792 wrote:
    > How would I do this?
    >
    > I want to create a toggle button, so when the button is
    in it's default position it says "Sound On" and when clicked again
    it says "Sound Off" etc.
    There is many ways to achieve that.
    You could have movie clip with two frames, button in frame 1
    with action go to nextFrame()
    and button in second frame with action go to prevFrame(); so
    they would toogel each other
    back and forth.
    You could have one movie clip with single frame and just an
    action on timeline frame:
    sound1 = new Sound(this);
    sound1.attachSound("loopSound");
    sound1.start(0, 999);
    buttonName.onPress = function() {
    (playing=!playing) ? sound1.stop() : sound1.start(0, 999);
    (give button instance name "buttonName" and you all set ....
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Toggle button problem..really urgent

    hi there.. i have a problem with my code and i hope someone can help me as i have a dateline to meet for my programme..
    i have a set of 10 toggle buttons with 1 single actionlistener..
    here is the code
    p3=new JPanel();
    b1=new JPanel();
    ActionListener listener1 = new b1();
    for (int i=1; i<=10;i++)
    JToggleButton button1 = new JToggleButton(("A"+i));
    button1.addActionListener(listener1)
    b1.add(button1);
    p3.add(b1);
    whenever the user activates a button, a textarea below will show the name of the button..
    for example.. if user clicks on A3.. it will appear A3 below..
    this is my code below of wat i have done..
    public class b1 implements ActionListener
    public void actionPerformed(ActionEvent e)
    Object source = e.getSource();
    textarea1.append(((JToggleButton) e.getSource()).getText()+",");
    my problem is this.. if the user were to deactivate the button,the textarea below will not show anything..
    for example, if user click on A4, it should appear A4 in the textarea and when user click on A4 again, the textarea should not show A4 again.
    and if user click on 2 buttons example A1 and A5
    textarea should show A1, A5
    and if user click on A1 again, the textarea should juz show A5 and A1 should not be there.
    any help would be greatly appreciated..=)

    i created 2 sets of buttons like this..
         //Buttons that Starts with A
         b1 = new JPanel();
    JToggleButton[] buttons1 = new JToggleButton[11];     ToggleButtonListener1 listener1 = new ToggleButtonListener1(buttons1);
              for(int i=1; i<buttons1.length; i++)
              buttons1[i] = new JToggleButton("A" + i);
                   buttons1.addActionListener(listener1);
              b1.add(buttons1[i]);
              p3.add(b1);
         //Buttons that Starts With B
              b2 = new JPanel();
         JToggleButton[] buttons2 = new JToggleButton[11];
         ToggleButtonListener1 listener2 = new ToggleButtonListener1(buttons2);
              for(int i=1; i<buttons2.length; i++)
              buttons2[i] = new JToggleButton("B" + i);
              buttons2[i].addActionListener(listener2);
                   b2.add(buttons2[i]);
                   p3.add(b2);
    i bind these 2 groups of buttons in a single actionlistener like this
    class ToggleButtonListener1 implements ActionListener
         private JToggleButton[] array;
         public ToggleButtonListener1(JToggleButton[] array)
              this.array = array;
         public void actionPerformed(ActionEvent e)
              ta1.setText("");
              for(int i=1; i<array.length; i++)
              if(array[i].isSelected())
         ta1.append(array[i].getText() + ",");
              continue;
    the problem i have now is that the 2 sets of buttons are not displayed on the textarea..
    for example if user clicks on A1, the textarea should appear A1 and if user clicks on B1, the textarea should display both A1 and B1.. how do i do that..?

  • Word 2010 Ribbon toggle button page size feedback

    For a Word template I am developing a custom ribbon for end-user ease of use and to protect the structure of the document. There is one issue I am currently running into for which I cannot find a solution.
    It started with a footer image which needs to be rescaled with the page width (page size and orientation) while retaining its aspect ratio. Apparently this is not possible without VBA (tried fill image for shape and set relative width, but that leaves
    the height fixed), so now the idea is to get a pull-down menu with toggle buttons for page size and orientation and change the image size using a macro. The options are A4 portrait, A4 landscape, A3 portrait and A3 landscape. The problem now is how
    to get the run-time feedback of page size and orientation to highlight the page setup of the active section, like the built-in size and orientation buttons.
    Hopefully this can be done.

    Hi AlexFolmer,
    Sorry for the delay.
    >> Create a custom ribbon menu with buttons to select the paper size, this can be done without too much effort. However, if this is to be implemented I would like the button representing the current paper size/layout to be highlighted in the same way
    as the Word native paper size/orientation buttons do
    Do you mean that you want to create a custom ribbon menu for user to select the Page size, and when you click the ribbon button, the current page size could be highlight. In my option, you could do as below:
    1.  Add a Combobox into the custom ribbon, set the items with “Item1”, “Item2”
    2. Add event to comboBox1_TextChanged, key code like below:
    private void comboBox1_TextChanged(object sender, RibbonControlEventArgs e)
    if (comboBox1.Text == "Item1")
    Globals.ThisDocument.PageSetup.PaperSize = Microsoft.Office.Interop.Word.WdPaperSize.wdPaperA3;
    else if (comboBox1.Text == "Item2")
    Globals.ThisDocument.PageSetup.PaperSize = Microsoft.Office.Interop.Word.WdPaperSize.wdPaperA5;
    For combobox, it has the function to highlist the selected item. At this time, we need to solve the issue for opening the document, the combobox would show the current pagesize. You could refer the code below:
    private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
    if (Globals.ThisDocument.PageSetup.PaperSize == Microsoft.Office.Interop.Word.WdPaperSize.wdPaperA5)
    comboBox1.Text = "Item2";
    You could refer the link below for more information about Globals.ThisDocument.PageSetup.PaperSize
    Reference:
    https://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.pagesetup.papersize(v=office.11).aspx
    In addition, if you have issues about PageSetup.PaperSize, I will recommend you post a new thread.
    The reason why I suggested is:
    #1 There would be more community members to discuss the question.
    #2 For people who have the similar question, it would be easier for them to find the answer from a specific thread.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Play pause toggle button

    Hi,
    I'm new to Flash. Kindly help anyone.
    Need assistance to create toggle button. Here attaced two screenshots.
    1. inner-animation.jpg - it contains all movie clips and play pasue controls.
    2.main-animation.jpg - this is the main timeline ( inside all movie clips & control buttons)
    3.playbuton-inside.jpg - its a button symbol ( as well as pause )
    4. There also bg music and sounds for some particular animation.
    Here all working fine. But i need play & pause animation as a toggle button.
    Here is the code i added for pause:
    play();
    pause_btn.onRelease=function(){
    stop();
    Here is the code i added for pause:
    stop();
    play_btn.onRelease=function (){
    play();

    You are using AS2 code, so you should be posting in the AS2 forum (http://forums.adobe.com/community/flash/flash_actionscript?view=discussions).  If the intention is to use AS3 code, then you need to change things.
    If the intention is to use the same single button for both pause and play, then what you normally would do is establish a boolean variable that you se to determine whether the clicking of the button should play or stop the movie...
    var playMovie:Boolean = true; // assumes the movie is stopped at the start
    pause_play_btn.onRelease = function (){
       if(playMovie){
           play();
           // manage play/pause btn
       } else {
           stop();
           // manage play/pause btn
       playMovie = !playMovie; // reverse the value of the playMovie variable
    In that code where I show "// manage play/pause btn" is where you need to do whatever you need to make the pause/play button appear as intended... either hiding one or the other, or changing its frames to show the appropriate image.

Maybe you are looking for

  • Airport express/Apple Tv to an Aircraft entertainment

    Hi Apple support community, We would like to create a WIFI network onboard of an aircraft (without internet connexion) via an Airport express box. Then to connect an Apple TV box to this wifi. This Apple Tv box connected to the aircraft entertainment

  • In-apps Garageband problems

    Tengo un problema con Garageband en iPad; cuando compré el iPad Air en Enero, descargué todos los instrumentos (in-apps) gratis, ya que era un nuevo dispositivo. Pero hace como casi dos meses, con la última actualización, se borraron las in-apps, y n

  • Price for adapter and battery

    Dear sir,                   i`m using pavilion dv4-1241tx model laptop, i like to purchase adapter and battery....wat is the prices?????

  • Where can i find a DDTS-100

    does anyone out there know where i can find a DDTS-100 decoder in the us i can't seem to find one anywhere on the internet every site says it is dicontinued does anyone have any INFO?

  • How to retrieve Timesheet Approver by query

    Hi, I'm retrieving timesheet manager name from ResourceTimesheetManagerUID field in MSP_EpmResource_UserView view. But, If a user change timesheet manager while submitting time sheet I'm unable to access it.  I tried searching in reporting DB documen