On Thu, Jan 17, 2013, at 12:07 PM, Tamas Nagy wrote:
> Well, I came up with a solution. I subclassed NSTextfield with
>
> -(void)viewDidMoveToWindow {
>
> [self selectText:self];
> }
>
> and no it works as expected. When the menu pops out, the focus is on the
> textfield.
Glad it works,
Well, I came up with a solution. I subclassed NSTextfield with
-(void)viewDidMoveToWindow {
[self selectText:self];
}
and no it works as expected. When the menu pops out, the focus is on the
textfield.
Tamas
On Jan 17, 2013, at 8:54 PM, Kyle Sluder wrote:
> On Thu, Jan 17, 2013, a
Thanks for the info and the tips Kyle!
Tamas
On Jan 17, 2013, at 8:54 PM, Kyle Sluder wrote:
> On Thu, Jan 17, 2013, at 11:38 AM, Tamas Nagy wrote:
>> Hi List,
>>
>> I have an application (10.6>) where are have a contextual menu with an
>> NSTextfield. What I'm trying is when I displaying the
On Thu, Jan 17, 2013, at 11:38 AM, Tamas Nagy wrote:
> Hi List,
>
> I have an application (10.6>) where are have a contextual menu with an
> NSTextfield. What I'm trying is when I displaying the menu with [NSMenu
> popupContextual…] making the NSTextfield focused, but without luck.
>
> I tried se
Hi List,
I have an application (10.6>) where are have a contextual menu with an
NSTextfield. What I'm trying is when I displaying the menu with [NSMenu
popupContextual…] making the NSTextfield focused, but without luck.
I tried setting [mytextfield becomeFirstResponder] and [mytestfield
select