Re: textfield problem

2012-03-04 Thread Kyle Sluder
On Mar 4, 2012, at 11:01 AM, "H. Miersch" wrote: > > On 3. Mar 2012, at 10:49, Ken Thomases wrote: > >> If the window doesn't have a resize box or title bar -- that is, you're >> using NSBorderlessWindowMask -- then the NSWindow implementation of >> -canBecomeKeyWindow returns NO. > > i gave

Re: textfield problem

2012-03-04 Thread H. Miersch
On 3. Mar 2012, at 10:49, Ken Thomases wrote: > If the window doesn't have a resize box or title bar -- that is, you're using > NSBorderlessWindowMask -- then the NSWindow implementation of > -canBecomeKeyWindow returns NO. i gave the window a title bar (which doesn't appear when used as a she

Re: textfield problem

2012-03-03 Thread Michael Paluszek
I had a problem where another element covered the text entry field. That part of the other element was transparent so it was hard to see that it was blocking the text entry. Sincerely, Mike On Mar 3, 2012, at 7:28 AM, gmail wrote: > When I got a similar problem, I had by mistake covered the t

Re: textfield problem

2012-03-03 Thread gmail
When I got a similar problem, I had by mistake covered the text field with the other view. It was just my case, though. norio On 2012/03/03, at 5:35, "H. Miersch" wrote: > hello. > i have a problem with a text field that won't accept any input. the textfield > is one of three on a panel tha

Re: textfield problem

2012-03-03 Thread Ken Thomases
On Mar 3, 2012, at 3:17 AM, H. Miersch wrote: >> Does the panel have a title bar or resize indicator -- not when it's running >> as a sheet, but in its style mask? See the documentation for -[NSWindow >> canBecomeKeyWindow]. > > as i said in my previous email, i re-did it using a window. and t

Re: textfield problem

2012-03-03 Thread H. Miersch
> Is anything written to console when the panel is loaded or when you attempt > to start editing in the text field? no console output. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: textfield problem

2012-03-03 Thread H. Miersch
> Is the text field configured with Refuses First Responder? no. > Does the panel have a title bar or resize indicator -- not when it's running > as a sheet, but in its style mask? See the documentation for -[NSWindow > canBecomeKeyWindow]. as i said in my previous email, i re-did it using a

Re: textfield problem

2012-03-03 Thread H. Miersch
> Did you use a NSPanel for the sheet? Use a NSWindow instead, since NSPanels > can have special first-responder behavior. yes, i did. and today i deleted the panel and recreated it with a window instead of a panel. unfortunately, that didn't solve the problem :-( ___

Re: textfield problem

2012-03-03 Thread H. Miersch
> Do you have a value binding for the field? no, i don't really know how to use bindings. > If so, is "Conditionally sets editable" checked? i went in there and "Conditionally sets editable" was checked but greyed out. so i turned on the value binding and unchecked "Conditionally sets editable"

Re: textfield problem

2012-03-03 Thread Ken Thomases
On Mar 2, 2012, at 2:35 PM, H. Miersch wrote: > i have a problem with a text field that won't accept any input. the textfield > is one of three on a panel that appears only when the input is needed. I > activate the panel with this line:[app beginSheet:Sheet > modalForWindow:mainWindow moda

Re: textfield problem

2012-03-02 Thread Quincey Morris
On Mar 2, 2012, at 12:35 , H. Miersch wrote: > i have a problem with a text field that won't accept any input. the textfield > is one of three on a panel that appears only when the input is needed. I > activate the panel with this line:[app beginSheet:Sheet > modalForWindow:mainWindow modal

Re: textfield problem

2012-03-02 Thread Keary Suska
On Mar 2, 2012, at 1:35 PM, H. Miersch wrote: > i have a problem with a text field that won't accept any input. the textfield > is one of three on a panel that appears only when the input is needed. I > activate the panel with this line:[app beginSheet:Sheet > modalForWindow:mainWindow moda

textfield problem

2012-03-02 Thread H. Miersch
hello. i have a problem with a text field that won't accept any input. the textfield is one of three on a panel that appears only when the input is needed. I activate the panel with this line:[app beginSheet:Sheet modalForWindow:mainWindow modalDelegate:self didEndSelector:NULL contextInfo: