开发者

nsbutton

0
  • Give a Key equivalent to NSButton dynamically

    I want to a开发者_JS百科ssign a key equivalent to an NSButton if the control is the first responder. You can override becomeFirstResponder: and in your implementation call setKeyEquivalent:. If you wa[详细]

    2023-03-09 02:19 分类:问答
  • remove blue shadow of NSButton

    Always (programmatically or via 开发者_开发百科IB) i get this blue shadow on the first set button:[详细]

    2023-03-08 03:24 分类:问答
  • Perform different actions on button up and down

    Ok. I\'ve been digging around trying to find a way to capture button up and down actions. I\'m not even sure what the proper terminology in Xcode for this would be. It\'s pretty easy in MS Visual, but[详细]

    2023-03-06 03:46 分类:问答
  • How to scale axes independently at runtime on an NSButton

    In Interface Builder, you can select how you want a button\'s image to be scaled, choosing either Axes Independent, Proportionally开发者_如何学Python Down, etc. for the \"Scaling\" drop-down. How can[详细]

    2023-03-01 18:22 分类:问答
  • NSView drawRect interfering with subviews?

    I have an nsview and i use draw rect to draw an image for background. It also has 3 subviews nsbuttons. 开发者_StackOverflow中文版The problem is, whenever the mouse is down on a button, the other butt[详细]

    2023-02-27 09:50 分类:问答
  • How can I calculate the center of an NSButton?

    I\'m not sure how to find the center of my button: spinner = [[EKActivityIndicatorView alloc] initWithFrame:CGRectMake([followButton bounds].origin.x/2, [followButton bounds].ori开发者_开发问答gin.y/[详细]

    2023-02-22 12:01 分类:问答
  • Giving my program 'options'

    Ok, In XCode 4 I have created 3 small programs: A calculator, a \'scratch pad\' (blank note-type window), and \'spread sheet\' (just looks开发者_运维问答 like a spread sheet, for holding values gaine[详细]

    2023-02-20 08:56 分类:问答
  • NSButton Inside NSTextField

    I\'m trying to create a NSTextField with a button on its right side (similar to a NSSearchView), but I can\'t figure out how to have the NSTextField\'s text scroll without going under the NSButton.[详细]

    2023-02-19 22:55 分类:问答
  • Lost in NSButton types and alternate images

    I’d like to have an NSButton w开发者_StackOverflow中文版ith an image and an alternate image. The alternate image should be displayed while the button is being pressed and I’d also like to display th[详细]

    2023-02-17 17:20 分类:问答
  • Keep NSButton highlighted

    Quite simple question here. How can I keep a NSButton highlighted? It seems that whenever the user presses my highlighted button开发者_如何学运维, the button becomes unhighlighted. Any suggestions?[详细]

    2023-02-15 22:24 分类:问答