Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3314424
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:13:52+00:00 2026-05-17T22:13:52+00:00

I am making a cocoa app where i have a menu – you can

  • 0

I am making a cocoa app where i have a menu – you can see the picture below – but the problem is when i click on any other option e.g; subtract, multiply or division, it don’t get selected. What can be the issue?

Note: When i made the menu, i checked the state option of add to ON and rest of them were OFF.

alt text

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:13:53+00:00Added an answer on May 17, 2026 at 10:13 pm

    Unlike radio buttons, which are cells in an NSMatrix, there’s no easy way to group a bunch of menu items together to get radio-button/checkbox-group functionality. You’ll just have to handle this yourself in the action method for all of these menu items: Set the state of the chosen menu item (the action’s sender) to on, and all of its neighbors to off.

    I’d hope that a menu isn’t the only way you’re providing users to switch the active operator; the user should at least have buttons to use as well, and should be able to use their keypad if they have one. Don’t forget to keep the states of the menu items and the buttons synchronized; you probably should hook all the operator menu items and all the operator buttons up to one action, and update all of them in response to any of them.

    You can set tags for the buttons and menu items in IB and check the sender’s tag in your code in order to tell which operator the user has selected.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a Cocoa menulet app, but my users have requested an option to
For those who have seen my other questions: I am making progress but I
I'm interested in making an in-company encrypted peer-to-peer chat app in Cocoa, but I
I'm making a Cocoa application and I can't figure out how to do something.
Im making an application in cocoa and wanted to see if some strings in
I have some processing in my Cocoa app that sometimes ends up calling through
Hobbyist Cocoa programmer here. Have been looking around all the usual places, but this
How can I stop Emacs (Cocoa OSX, version 24.0.91 from http://emacsformacosx.com/builds ) making noise
I'm making a simple Todo application in Cocoa. I have added a class (and
I have rich-text file with a few images and text. In my Cocoa app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.