nscontrol Questions

4

Solved

If the NSButton is not enabled, the mouseDown: and mouseUp: behave as expected (so when the mouse is pushed down, the mouseDown: is called, and when it is released, the mouseUp: is called) However...
Olag asked 13/3, 2014 at 20:4

1

I am learning about NSControl. I am aware that NSCell has begun its road to deprecation in OS X 10.10 Yosemite, and so I'd rather not use an API that is going away. Also, the NSControl Class Refere...
Bring asked 10/6, 2015 at 3:48

1

Solved

Does anybody know why NSControl's isEnabled has been removed while setEnabled: is still working?
Beaujolais asked 24/2, 2015 at 21:24

3

Solved

I have a custom NSTextField, where I'm implementing some rounded corners. Pressing the "TAB" key does not go to the next NSTextField (or selectable control) in the window. Weird. Why would it do t...
Marissamarist asked 6/7, 2012 at 11:38

1

Solved

NSRuleEditor looks like a pretty powerful class and it looks like stuff like iTunes Smart Playlists or Finder Smart Folders are using it. (I reckon it should be called NSSmartRuleEditor...) But is...
Peralta asked 31/10, 2012 at 18:34

2

Solved

I'm trying to find a method that monitors the text of NSTextField for changes. I tried the delegate method of -(void)controlTextDidChange:(NSNotification *)obj but it only works when the user types...
Robertoroberts asked 29/10, 2012 at 22:31

1

Solved

View-based NSTableViews seem to have just the standard behavior, where, in order to make a text field inside the table the first responder, the user has to either double click or to single click an...
Myers asked 21/6, 2012 at 23:6

2

Solved

I have a clear button in my Mac OS app. When the button is pressed, it clears all the values of the form and resets the NSPopUpButton to the first item. The question is how do I change the NSPopUp...
Uncommitted asked 19/1, 2012 at 18:5

1

Solved

I implemented the following delegate method for NSTextField to add autocompletion support: - (NSArray *)control:(NSControl *)control textView:(NSTextView *)textView completions:(NSArray *)words ...
Orient asked 2/4, 2011 at 19:6
1

© 2022 - 2024 — McMap. All rights reserved.