Re: controlTextDidChange, backspace possible?
Re: controlTextDidChange, backspace possible?
- Subject: Re: controlTextDidChange, backspace possible?
- From: Harilaos Skiadas <email@hidden>
- Date: Tue, 14 Sep 2004 10:50:58 -0700 (PDT)
--- Ondra Cada <email@hidden> wrote:
> Harilaos,
>
> On 14.9.2004, at 19:01, Harilaos Skiadas wrote:
>
> > I basically want a particular behavior to
> > happen when the up and down arrows are pressed,
> namely
> > the user would then be moving through a history
> list...
>
> Perhaps it is far from your needs, but have you
> checked NSComboBox?
I actually did think about it, but decided to keep the
text field containing the command and the history
separate. I offer access to the history in three ways,
through a NSPopUpButton, through to buttons that move
up and down through the list, and with the arrow keys
through the text field. You might be right, I just
prefer the way it looks now. Will the NSComboBox offer
me more functionality?
Incidentally, you can find my application in:
http://www.math.uchicago.edu/~skiadas/Apps
and you can open the console window with
shift-command-c and tell me what you think of the
layout. You probably won't be able to do much unless
you have the program that runs on the background
already installed, and it's a math program called
macaulay 2, but the console window should still show
up.
Anyway, thanks for the suggestion. It does seem like
the logical thing to do I guess.
One extra peculiarity of how my history works is that
if you have something typed in the text field and then
you start going through the history, then the value
that the text field had initially is cashed, and you
can return to it by going beyond the bottom of the
history list. Not sure how I would do that with a
combo box, though I am guessing it's probably doable.
> ---
> Ondra Èada
> OCSoftware: email@hidden
> http://www.ocs.cz
> private email@hidden
> http://www.ocs.cz/oc
>
>
Haris
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden