• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RegEx in cocoa, and where to dl PB+IB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RegEx in cocoa, and where to dl PB+IB?


  • Subject: Re: RegEx in cocoa, and where to dl PB+IB?
  • From: David Rehring <email@hidden>
  • Date: Sun, 28 Apr 2002 01:34:55 -0700

On 4/27/02 10:20 PM, Cryx at email@hidden wrote:

>>> You can use these to substitute your own editor subclass with a
>>> keyDown method. In my own case, it proved to be much simpler to use a
>>> plain NSTextField and catch the keyDown events.
>>
>> I'd like a text field which can scroll vertically. NSTextField doesn't
>> appear to have that capability. Or am I missing something obvious?
>
> Sigh. I wanted vertical scrolling on my text field too, but I was
> willing to sacrifice it to process keystrokes. I figure I'll implement
> my own scrolling on a text field some day, unless someone else who has
> accomplished the same task can provide guidance.

Could you possibly want an NSTextView instead of an NSTextField? It's in
the Cocoa Data Views palette...

I believe the delegate of NSTextView gets to process text before it's
actually added.

>> Also, on a related note, where is the scrollbar control in IB? Don't
>> tell me there is none!
>
> There is, but it's not obvious: use a "custom view" and change its
> class to NSScroller.

There's also the menu item: Layout->Make subviews of->Scroll View

Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: RegEx in cocoa, and where to dl PB+IB? (From: Cryx <email@hidden>)

  • Prev by Date: Re: setting color of a progress indicator?
  • Next by Date: Re: NSTableView/Drag and Drop
  • Previous by thread: Re: RegEx in cocoa, and where to dl PB+IB?
  • Next by thread: Re: RegEx in cocoa, and where to dl PB+IB?
  • Index(es):
    • Date
    • Thread