How do you set an access key of a button when the button's content is bound to a string?

Hello,
I want a button's context to be "_Edit" when it's in an edit mode and "_Add" when it's not. When I bind the button's content to a string, the access key would not work. So I used two separate buttons to do the work and that seems like
the right way.
Just out of curiosity, is there a way to bind the button's content to a string and still make the access key work?
Thank you for the help.

In general, if operations are quite different from each other like Add
and Edit it's completely valid to use two different controls.
Anyway, you can of course bind the content of a button to a string and add an underscore as a prefix in the setter of the property. That will change the access key according to the content string's first character.
If altering the bound string is no option in your case you can also use a custom string converter.

Similar Messages

  • How do you set a pre-recorded message to play when a caller calls your iPhone before you pick up?

    How do you set a pre-recorded message to play when a caller calls your iPhone before you pick up? My office is trying to use an iPhone for our business, and we want to give a brief introductory message that the caller will hear, before we pick up the line. Are there ay apps for this? Thanks!

    There is no setting for that on the phone. Some carriers provide ringback tones, which play instead of the caller hearing a ring. But I am not aware of an app that would play a message prior to you picking up the phone. The amount of time before you pick up is not a constant, and if it lasts too long, then the call would go to voicemail.

  • How do you set repeat events for a given day of the week

    How do you set a repeat event in calender for a given day of the month.  Expample 3rd Wednesday each month?

    Have you read the app store guidelines yet?
    App Store Review Guidelines:
    http://developer.apple.com/appstore/resources/approval/guidelines.html
    Don't go on what you've seen in the store - for every example you spot, there are hundreds that didn't make it in.
    As well, Apple is tightening up on reviews, etc.
    Loads of discussion on this in the iOS Dev Forums, BTW

  • On the new airport extreme how do you set up a print thats plugged in  to the base station to work on all computer

    I pluged in a printer to my new airport extreme and need to set it up so other computers can see it

    Plugged is very unspecific.. ethernet and USB are possible and completely and totally different.
    If you need help.. we need to know what the printer is.. and using what connection.
    Did you read the apple setup guides.
    Printer setup.ML
    USB and Ethernet.
    http://support.apple.com/kb/PH10875
    Wireless
    http://support.apple.com/kb/PH11387
    IP printer without drivers
    http://support.apple.com/kb/PH11478
    Troubleshoot network printer
    http://support.apple.com/kb/PH11070

  • How can you set Thunderbird to accept multiple attachments, particularly when selecting "email" in Windows Gallery with T'bird selected as default email

    Using Windows Gallery to send email photos - wioth each selection T'Bird opens a new email form. How can I set T'Bird to accept multiple attachments (similar to Gmail ).
    Using W'Gallery has the benefit of rteducing size of emailed pic to a few hundre kb.
    Thanks

    You best ask the windows gallery people. Thunderbird opening more than one window is based on yhow the request is made, not on Thunderbird,
    Selecting multiple files in explorer simply adds them to a mail, therefore the Windows gallery is the problem.

  • How do you exit a game from full screen mode when the game has crashed?

    Hey there
    There has seriously got to be a better way of exiting a crashed game than just turning the power off.
    I sometimes play Sims 3 on my mac, and we all know that Sims 3 is the most poorly coded game out there, so it crashes a lot. I don't understand how you can get out of the full screen without switching the machine off the wrong way.
    I have tried every single keyboard command people say to exit full screen mode, but they don't work when the game has crashed! In fact pressed every single button on the keyboard to try and exit, but nothing works.
    On Windows it's so simple, you press the start button on the keyboard, but on a mac it doesnt work.
    So any help to what i can do?
    Thanks

    Force quit just the game itself.
    Command + option + esc
    It's like control + alt + delete on Windows.

  • How do you set up iTC for two Different versions of the same app?

    I have been reading the iTC Developer Guide searching for the answer to this question, but so far I have found nothing that would help.  I plan on having a Lite and a Pro version of my app, and I may also have an iPad version as well.
    I have seen some iPhone icons which differentiate these app by using a slightly different icon for the Lite and Pro versions, but how these are submitted to the app store is what I would like to know.  And, for the sake of clarity, they will be priced differently as well.
    Thanks!

    Have you read the app store guidelines yet?
    App Store Review Guidelines:
    http://developer.apple.com/appstore/resources/approval/guidelines.html
    Don't go on what you've seen in the store - for every example you spot, there are hundreds that didn't make it in.
    As well, Apple is tightening up on reviews, etc.
    Loads of discussion on this in the iOS Dev Forums, BTW

  • How do you transfer PSE from one computer to another when the original purchase was on line without a disc?

    I have PSE10 on a WindowsXP machine that I upgraded from PSE8.  The upgrade was done with a download; no disc.  The only disc I have is the PSE8 version.  I now have a new Windows 8 machine.  How can I get the PSE10 program onto the new Windows 8 machine?  I will also need to transfer the organizer information.  Thanks for any help anyone can provide.

    Hi there,
                  I see that you have informed 2 things:
                  1. Upgraded OS WindowsXP to Windows8
                  2. Do not have installation media Disc for PSE10 as you purchsed as download.
                  1. Please note: PSE10 is not compatible with Windows8, it's not tested on this OS, however you can try working on this, in case if you face any issue it will be extremely hard to get it resolved,
                  so I would still suggest you go with Windows 7 in case if you have it. For Adobe Photoshop Elements 10 System Requirement visit [ System requirements | Adobe Photoshop Elements ]
                  2. Mostly downloads are provided by directly Adobe, so you can directly login to your adobe.com account and download the software from there, you only need to have the installation media of current version software,
                      When you try to activate the PSE10, you need to enter the serial number of PSE10, as it's an upgrade, you will be asked for it's previous qualifying serial number of PSE8.
                      ......................If you need help in finding serial number, please visit [ Find your serial number quickly ]
                    -> In case if it's purchased from a reseller, you may  not get the download now, for that you have have [ Other downloads ]

  • How do you stop an iOS device from disabling itself when the wrong passcode is entered too many times?

    At my school we use iPads for all our work etc. However, the idiots in my form grabbed my iPad and googled ****, which got me kicked off the school Wi-Fi of course. To stop this happening again, i put a passcode lock on, but now it amuses them to continually enter the wrong password which disables it, and then I cannot use it in lessons and I can't get access to my notes etc. This is really affecting my performance at school and the teachers are lazy idiots who wont do anything about it. Is there any way to stop this other than jailbreaking my iPad, or killing them?

    So what exactly do you propose I do when i'm trying to work on it in a class, and then the iPad is wrenched out of my hands by my ‘pleasant group of peers’? (I’ll refrain from using the term ‘Idiots in my form’ seeing as you know them so well, and are therefore able to pass judgment on their general conduct.) With regards to your comment about showing respect to my elders, I usually do, however if a teacher chooses to allow the children in their conduct to do whatever they please, and cause as much trouble as possible, I will refer to them as lazy, because their behaviour as a teacher equates to the definition of lazy (1 unwilling to work or use energy: he was too lazy to cook. 2 characterized by lack of effort or activity: they were enjoying a really lazy holiday. 3 showing a lack of care). Also, i’d like to emphasize that my poor performance is a DIRECT result of my the iPad being disabled. That would be because ALL of my work is on there, along with all of my textbooks and most of the other educational tools that we use. It may be easy for you to slam me for sounding like a whiny little ****, however imagine if all of your learning material was routinely removed from your person in a lesson, and you had to work with others, and make notes, which you will later have to type up, during valuable revision or homework time. After all of that disagreement with you, I do accept that I shouldn’t threaten to kill people, however I would like to stress that you may need to reassess your sense of humor, as you have obviously failed to detect that I was making a light hearted joke. I am sure that I do not possess the physical and metal requirements in order to kill someone.

  • How do you set up a different ipad on same computer with different itunes library

    I am trying to update a clients ipad (who does not have access to internet at his residence) on my personal computer.  When I open up itunes with his apple ID, I continue to get my itunes library information.  I don't want to mix my information with his information.  How do you set up a different i pad/itunes on the same computer?  What I need to do is update the version of his i pad as his i pad is version 4.2.1.  Thank you

    Create a new Windows user account on the computer.
    (86398)

  • How do you set a security password to control access to an external hard drive?

    how do you set a security password to control access to an external hard drive?

    The only way to reliably protect data, especially on an external hard drive, is to encrypt it.  Permissions don't have to be respected.  One way to encrypt data is to create an encrypted sparse bundle disk image with Disk Utility.  See:
    http://support.apple.com/kb/HT1578
    (Be sure to use the 256-bit encryption.)
    Alternately, you could use some whole-disk encryption, though I have no experience with any of the software for doing that.  You could try the following:
    http://www.truecrypt.org/
    I don't know that I would recommend the product being advertised inappropriately by keynesis.

  • How do you Set up a Family Pack sub-account

    how do you Set up a Family Pack sub-account i have purchased a Family Pack account and enter the activation key and i can not find where to set up the sub-account.
    please help
    Denis

    Thanks Shepart
    when i activated the account i ticked the upgrade button, should i have ticked the new account button?
    anyway, when i do what you say (below) there is not a manage "Accounts button" so i went to reactive it again ( for a new account) and is says that the activation key is all ready in use.
    Denis, go to www.mac.com and sign into your account. Click on the word "Account" at the top of the left hand column. You will need to sign in again for security purposes. Once your account settings show up, click on the "Manage Accounts" button and you can take care of everything.
    i think i hit a brick wall !!
    Cheers
    Denis

  • How do you set up for AirPrint an HP110A wireless printer without a PC on a wifi network using a Verizon FIOS router)

    Purchasing an HP110A wireless printer for my 85 year old father who has and Ipad
    This pritner is fully compatible with Airplay per HP site
    My dad has no PC
    He knows the router passcode.
    What is the process?
    Will the HP printer to be purchased shortly work out of the box w/no drivers
    How do you set the printer up to work on the iPad?

    Richard-
    I have the HP D110 AirPrint printer.  As I recall, it was configured in Ad Hoc network mode when first received.  It was necessary to set it up to access my WiFi router before I could use it with the internet connection.  Then, as part of the setup process, it downloaded the latest firmware update from HP.  This was all done from the printer control panel, and no PC was needed.
    As Pvonk mentioned, your router must be able to correctly handle Bonjour data for iPad to print to an AirPrint printer.  Go ahead and try it, it may work.  If the iPad can't find the printer, you will need to contact Verizon for help in configuring the router or getting a different router that is compatible.
    By now, you should realize that a PC is needed to update the iPad.  I assume your Dad visits you when he needs use of a PC.
    Fred

  • How do you set password so no one else can acces to you're internet on a wrt54gl?

    Yeah the subject says it all. How do you set password so no one else can acces to you're internet on a wrt54gl?

    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter... Leave Username blank & in Password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Wireless channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WEP, Encryption should be 64 bit.Leave the passphrase blank, don't type in anything... Under WEP Key 1 type in any 10 numbers please(numbers only and no letters eg: your 10 digit phone number) and click on save settings...
    Please make a note of WEP Key 1 as this is the Security Key for the Wireless Network...

  • How do you set up to back up iPad notes in iCloud?  I turned on backing up notes in iCloud settings, and it asked me to create a .me account, which I did, but I don't see my notes anywhere on iCloud, and I never received a password for my .me account.

    How do you set up to back up iPad notes in iCloud?  I turned on backing up notes in iCloud settings, and it asked me to create a .me account, which I did, but I don't see my notes anywhere on iCloud, and I never received a password for my .me account.

    You'll find your notes under Mail in iCloud. There's a separate folder on the left that's labeled notes so you can access them anywhere. And your me.com account will have the same password as your Apple ID (in fact, you can log into iCloud with just your Apple ID, as the two accounts are permanently linked).

Maybe you are looking for

  • How can I place a custom table over an image?

    I have a graphic embedded in the Master Page at the start of every chapter like this. I created a borderless Custom Table without the data that I want to place over the image so it looks like the text is typed on the notebook paper. I apparently can'

  • External hard drive won't leave

    So here's the deal, my external hard drive refuses to eject. I keep getting this message that says the hard drive is being used by a program but that is impossible because I restarted the computer and have no program running except finder and dashboa

  • Automatically create ODBC DSN connection with special port and password. Add-OdbcDsn cmdlet

    Hi, I first posted a question in the SQL forum but I'm posting it here instead because its a Powershell question. In a non-persitent VDI enviroment we are trying to automatically create a ODBC DSN connection to a SQL server. We are using Windows 8.1

  • Change settings for external displays: no "mirror displays" mode

    Hello, I'm using a 13" MBP with Snow Leopard. I'm using different displays and projectors in different locations. When you plug an external display in, the two displays are first in "mirror displays" mode. First thing I do is to switch this off. Is t

  • [M73-SFF] - multiple sleep mode problems

    My new ThinkCentre M73-SFF will not enter into sleep mode.  It also will not stay in sleep mode when I manually put it into sleep mode. It regularly would go into sleep mode when I first purchased it but not so now.  I have searched on the net but ca