Using ShiftDown or Alt Down  with onSelect

I am having no success testing for ShiftDown and the various other on-select related properties.
for example both the following issue an empty alert box regardless of the status of the shift key:
myMenuItem.onSelect = function () {alert(this.ShiftDown)}
myMenuItem.onSelect = function () {alert(myMenuItem.ShiftDown)}
I want to be able to do both of:
1. When the menu command is clicked with say ShiftDown, it toggles the checked status.
2. When the menu command is clicked with say ShiftDown, it does something different from when ShiftDown is false.
Andrew
CS2 on XP

[email protected] wrote:
> I was going to ask about that mymenucommand.onSelect = function (menu) {}
>
That is roughly equivalent to
function _menuCmd(menu) {}
mymenucommand.onSelect = _menuCmd;
'menu' is just the name of a formal parameter/argument that is strictly local to
the function.
function myFtn(a, b, c) {
return a+b+c;
'a', 'b', 'c' are the same.
ciao,
-X

Similar Messages

  • Urgent !- Drop down the list without using mouse and ALT+DOWN

    I'm working in Oracle Forms 10g. Is there any way I can drop down the list, the moment the list gets focused, without using the mouse and ALT+DOWN?
    Kindly let me know if you have a solution for this. Thanks in advance.

    Dear Uma Maheswari,
    You can use also the arrow keys to drop down the lists, but I don't think once you have the focus, you can drop down the list. If you get any solution to this kindly let me know.
    Regards.
    Senthil .A. Perumal.

  • IPhone 5 shuts down with over 30% battery remaining

    My iphone 5 is shutting down with over 30% battery remaining. It used not to shut down with still around 2% remaining but its increasing with every day now. For the last 5 days or so it is shutting down when showing even 30% remaining. When plugged in again, the battery is all drained down. Please someone give some valuable advice.
    thanks
    Ehtasham Shahid

    Sounds like a definite hardware problem. You should still be in warranty, so head over to an Apple Genius Bar and they will either repair or replace it. A replacement will be much more likely, and it's free (if in warranty).
    Good luck!

  • I use a two button mouse with my Mac Book Pro.  It works fine, but after installing Lion, the mouse wheel goes in reverse of what it did (rolling the wheel towards your palm goes up not down the page).  Anyone know how to fix this?

    I use a two button mouse with my Mac Book Pro.  It works fine, but after installing Lion, the mouse wheel goes in reverse of what it did (rolling the wheel towards your palm goes up not down the page).  Anyone know how to fix this?

    First sentence in OPs question:
    I use a two button mouse with my Mac Book Pro
    I guess the track pad settings would look similar to my screen shot?
    Regards,
    Colin R.

  • Every time I try to turn on Genius in iTunes, iTunes get shut down - I'm using a Windows 7 pc with iTunes 10.5.1

    Every time I try to turn on Genius in iTunes, iTunes get shut down - I'm using a Windows 7 pc with iTunes 10.5.1.
    It started after I bought a new PC, everything worked fine at the old one.

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • I have been using a Google moderated group with a robo receptor which suddenly turns down my message submission because it won't "word wrap" correctly. I have made no changes in my messages to the forum so the problem must be with my end. Any Ideas?

    I have been using a Google moderated group with a robo receptor which suddenly turns down my message submission because it won't "word wrap" correctly. I have made no changes in my messages to the forum so the problem must be with my end. Any Ideas?

    I have been using a Google moderated group with a robo receptor which suddenly turns down my message submission because it won't "word wrap" correctly. I have made no changes in my messages to the forum so the problem must be with my end. Any Ideas?

  • I am using firefox 3.6.7. with Windows 7. There is no " sort by name" in the dropo down when I right click. How do I alphabatize my book marks?

    I want to alphabetize my bookmarks. I am using Firefox 3.6.7 with Windows 7. When I right click on a bookmark no "sort by name" appears in the drop down. How can I do this/

    In Firefox 3 the option to sort bookmarks is only available for folders and not for individual bookmarks.
    Easiest to sort by name is to do that in the left pane of the Bookmarks Manager (Bookmarks > Organize Bookmarks) or in the sidebar and right-click the folder that you want to sort.
    See also http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    SortPlaces: https://addons.mozilla.org/firefox/addon/9275

  • Tethering with AT&T, any slow down with increased use?

    I am between buying a Iphone4 and a DroidX. The tie-breaker likely is going to be tethering. Apparently on a DroidX with Verizon, after 5 gigs, the intenet slows down to a crawl, something I can't live with. I gather there is no slow down with AT&T, you just pay more, $10 per gig. Do I have that right? Does tethering the Iphone4 work as well as a wireless card? Thanks.

    It works fine...did I mention it was EXPENSIVE!

  • I have a mid-2009 MBP and I've been using my BOSE Companion 20 with it for about half a year now. It was fine until recently, when i want to adjust the volume using the pod on the BOSE Companion 20, it will cause like a surge in volume, spiking it up

    I have a mid-2009 MBP and I've been using my BOSE Companion 20 with it for about half a year now. It was fine until recently, when i want to adjust the volume using the pod on the BOSE Companion 20, it will cause like a surge in volume, spiking it up and down. It will not stablise itself! It's very fustrating. Anybody with the same issue?

    I have the BOSE Companion 5 speakers and have had the same problem. I've searched everywhere and gotten nowhere. My speakers are way past their warranty, so calling Bose would probably get me no where either. Only thing I can think of is that the speakers overheat which causes the spikes in the volume. I've tried unplugging them for a few minutes and then plug them back on. The problem does go away, but after about 5 minutes, same problem.

  • How do I use the double sided printing with my HP Officejet 6500A plus

    I need help with learning to use the double sided printing with my HP Officejet 6500A Plus

    Click on the Show Details button just above:
    You can configure various options from the dropdown menu just below Orientation.
    Printing two-sided requires a two-sided adaptor for the printer. Otherwise, you have to print out odd numbered pages first, turn them over and reinsert into the paper feeder, then print even numbered pages. If you do it right you get a nice two-sided document. If you do it wrong all the even numbered pages will be upside down.

  • HT5622 The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings no

    The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings nothing!

    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.
    - Go to Settings>Game Center and sign out and sign back in
    - 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: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • Hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 :) what should i do need your help. thanks

    hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 what should i do need your help. thanks 

    Have you charged ipad Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo You may need to do this more than once. Bsydd uk

  • Creating a formula using a alphabetic drop down list?

    I am creating a work sheet using formulas and drop down list. I have one drop down list that has a list of name and the second list is a list of letter that correspond to those names. (ex: column "J" on line "4 - 29" there is the letter
    "A-Z" and then continues , in column "K" line "4" starts the list of names. In Cell B4 is the drop down list of names in column "K" to choose from, I would like the letter that corresponds to that name automatically
    be put into cell A4, how do I create the formula in cell A4?

    Hi Tina,
    According to your description, please following these steps:
    With your sample as shown in the following figure, select range “J4:K29”, and click
    FORMULAS-Defined Names-Create from Selection, and check
    Right column.
    Then, use the enter formula in A4 “=INDIRECT(B4)”.
    And I upload a TEXT.xlsx file on OneDrive, you can download this file via this link:
    https://microsoft-my.sharepoint.com/personal/v-lzng_microsoft_com/Documents/Shared with Everyone
    Hope it’s helpful.
    Regards,
    Emi

  • I have just bought a macbook pro and i want to use an ext hard drive with it which i previously used on a windows computer, but when i plug it in it doesn't show up on my macbook pro, I've wiped it and just need to format it but don't know how, help

    i have just bought a macbook pro and i want to use an ext hard drive with it which i previously used on a windows computer, but when i plug it in it doesn't show up on my macbook pro, I've wiped it and just need to format it but don't know how, any help would be much appreciated

    Try the other USB port. If it still doesn't show up in Disk Utility then there may be something wrong with your Mac. Try something else in each USB port and see if it is seen. If the other thing, like a USB thumb drive, does show up in disk utiltiy then the USB ports are fine.
    Power down the system and restart with the drive connected, go to DU and see it it is seen.

  • Snow Leopard shutting down with no warning is getting more complex!

    I have a series 1 Macbook Pro and have updated to Snow Leopard. As with most other people I immediately got problems with the "battery Service" message. So, having read all the various posts, and tried re-calibration, I bought a new battery.
    Charged fully and disconnected adaptor. The machine shut down with no warning at about 85%! I tried a few more times after fully charging the battery and it shut down a number of times - 83%, 85%, 89% and 98%. The battery shows a cycle count of 1. The last time it shut down (89%) I decided to try re-starting without plugging the adaptor back in. The machine started and ran up to the point where it properly started Snow Leopard - when it was about to change from the blue screen - at which point it shut down again. I tried this a number of times and it was absolutely conisistant, doing it every time.
    I then had the bright idea of plugging in the adaptor but watching the LED to see what happened. The LED came on green for 1 or 2 seconds, then went red. I then immediately unplugged it again. I then tried to start the machine with battery only. It started perfectly and went on running until down to 15% at which point it shut down, again with no warning. Tried re-starting - it wouldn't! Plugged the adaptor in so that it would charge the battery whilst using the machine. Then, much to my amazement, while the adaptor was still plugged in, and the battery was far from fully charged, the machine shut down - again without warning. That's "it shut down with battery installed AND mains connected". The machine then wouldn't start, with mains connected. It would switch on for a few seconds then shut down again. To get it to start I needed to remove the battery and run it on mains only.
    That's where I am at the moment, running 'mains only' with no battery installed. It looks as if Snow Leopard sets the battery monitor / charging hardware incorrectly on the MBP. Once set incorrectly it looks as if it loses itself!
    Has anyone else experienced anything like this?

    It really doesn't get any better! Well, not a lot. I decided that I'd try yet another brand new battery. I charged it fully, disconnected the mag connector and it ran happily without shutting down - hooray. However, after putting out the message about low power and about to shut down, at about 5%, it ran to about 2% and shut down without warning. It didn't go to sleep.
    I then couldn't get the machine to start again. I reset the SMC and still no joy. it would start to run, flash the screen a couple of times and then die. To get it to run I had to disconnect the battery, start it, then plug the battery back in again. Snow Leopard does appear to do something odd with the charging hardware. It appears to leave it in an odd state.
    You may be right about Battery Update 1.3, but there appears to be no way of installing it under 10.6.8 - unless you know something I don't!
    This is the current battery:
      Manufacturer:          Sony
      Device name:          ASMB012
      Pack Lot Code:          0002
      PCB Lot Code:          0000
      Firmware Version:          102a
      Hardware Revision:          0500
      Cell Revision:          0303
      Charge Information:
      Charge remaining (mAh):          3734
      Fully charged:          No
      Charging:          No
      Full charge capacity (mAh):          5205
      Health Information:
      Cycle count:          2
      Condition:          Normal
      Battery Installed:          Yes
      Amperage (mA):          -2230
      Voltage (mV):          11429
    As you can see, I'm running 'battery only' at the moment!

Maybe you are looking for

  • External hard drive won't install, Please Help

    I just purchased this same external hard drive, 3/7/2011.  I hooked everything up via my USB, put in the installation CD, got the Drive Set-up window, clicked on Backup Software and got a message "C:\DOCUMEN~1\Owner\LOCALS~1\Temp\pft48F~tmp\" and "Ac

  • HOW DO I KNOW IF I HAVE A IPOD THAT CAN PLAY GAMES??

    so i've got a 30gb ipod that plays videos...i've got all the newest downloads and ****...am i good to go as far as the new games are concenred?

  • VHS & DVD VideoGlide capture has horizontal fuzzy lines

    I have imported some footage from my VCR and DVD player. With uncompressed settings and default compression, I always get fuzzy looking footage. The lines are more pronounced when there is lots of movement. I see the lines when VideoGlide Capture is

  • Can ANYONE please help with coding query?

    Hi Im currently setting a website up in Adobe Muse/BC - Im not a developer at all!..but a designer and really like this software. However ive come across whats probably quite a simple problem - i just need to put some the module output from my web ap

  • Firewall problem in domain environment

    I have built two domains for testing purposes. Having deployed domain controllers, exchange servers, sccm/scom servers, sql servers along with some client computers I noticed that I had problems accessing some of servers/clients - I could not manage