Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Objective c- how to detect make a NSTableView detect cmdkey down when editing a cell?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="andreislnt" data-source="post: 1201125" data-attributes="member: 195112"><p>Hey guys! I'm working on an aplication which has one button.Let's say Button A.</p><p>What i already did: when pressing 'a' on the keyboard i am able to simulate the corresponding button action. I also did this with Cmd+a keys.</p><p>What I want to do: I want to let the user select what shortcut key he wants to use for pressing button A.</p><p>To achieve this I made a nstableview with 2 columns,second collumn editable,representing the shortcut key. It works for simple key only(eg. 'a' or 'e' or something similar).</p><p>The question would be: How to detect,for example cmd key down on editing a table cell and display cmd sign in the table?</p><p></p><p>Thanks,</p><p> Andrei</p></blockquote><p></p>
[QUOTE="andreislnt, post: 1201125, member: 195112"] Hey guys! I'm working on an aplication which has one button.Let's say Button A. What i already did: when pressing 'a' on the keyboard i am able to simulate the corresponding button action. I also did this with Cmd+a keys. What I want to do: I want to let the user select what shortcut key he wants to use for pressing button A. To achieve this I made a nstableview with 2 columns,second collumn editable,representing the shortcut key. It works for simple key only(eg. 'a' or 'e' or something similar). The question would be: How to detect,for example cmd key down on editing a table cell and display cmd sign in the table? Thanks, Andrei [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Objective c- how to detect make a NSTableView detect cmdkey down when editing a cell?
Top