On Feb 23, 2010, at 2:31 PM, Trygve Inda wrote:
>> On Feb 21, 2010, at 9:50 PM, Trygve Inda wrote:
>>
>>> In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
>>> Initially, the tab key works to jump between my name field and the first
>>> match field in the predicate editor.
>>>
>
> On Feb 21, 2010, at 9:50 PM, Trygve Inda wrote:
>
>> In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
>> Initially, the tab key works to jump between my name field and the first
>> match field in the predicate editor.
>>
>> However, after changing any of the menus in the line
On Feb 21, 2010, at 9:50 PM, Trygve Inda wrote:
> In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
> Initially, the tab key works to jump between my name field and the first
> match field in the predicate editor.
>
> However, after changing any of the menus in the line of my pre
On Thu, Jan 21, 2010 at 6:00 AM, Florian Soenens wrote:
> Hi LIst,
>
> i set up an NSPredicateEditor and got it all working fine except that it
> only executes when i hit enter or tab out of the NSTextField.
> Is there a way to let it execute everytime something changes in the
> textfield?
>
> I t
On Jan 15, 2009, at 5:14 AM, Chris Idou wrote:
Is it just me or does the "enabled" checkbox in IB for
NSPredicateEditor, as well as the enabled bindings do nothing?
enabled indeed does nothing yet. If you want to prevent the user from
changing an NSPredicateEditor, you can use setEdit
Nib on the predicateEditor, and it
didn't do anything. I am using 10.5.6.
From: Volker in Lists
To: Chris Idou
Cc: cocoa-dev@lists.apple.com
Sent: Friday, 16 January, 2009 12:42:10 AM
Subject: Re: NSPredicateEditor
Hi,
works for me on 10.5.5 just as well as via c
Hi,
works for me on 10.5.5 just as well as via code and calling the
appropriate methods. At least that was my experience from before
christmas. Want me to retry on 10.5.6?
Volker
Am 15.01.2009 um 14:14 schrieb Chris Idou:
Is it just me or does the "enabled" checkbox in IB for
NSPredi
I've got around it by implementing a kind of "man in the middle"
subclass of NSPredicateEditorRowTemplate. I set the class of the row
template to my subclass in IB and it automatically adds the "ANY"
modifier to whatever is already configured. It removes the "ANY"
modifier from the predicat
got a suspicion
> that it will then leave the time component alone. When you
> got a result of 13:41:40, might that have been the time you
> ran the program?
> >
> >
> > --- On Sun, 7/12/08, Josh Abernathy
> <[EMAIL PROTECTED]> wrote:
> >
> >
t; wrote:
From: Josh Abernathy <[EMAIL PROTECTED]>
Subject: Re: NSPredicateEditor and date comparisons
To: [EMAIL PROTECTED]
Cc: "Cocoa-Dev List"
Received: Sunday, 7 December, 2008, 5:00 PM
Ah, yes, that would be the more accurate way to explain it.
I have an NSDatePicker in my NSPredic
u ran the program?
--- On Sun, 7/12/08, Josh Abernathy <[EMAIL PROTECTED]> wrote:
> From: Josh Abernathy <[EMAIL PROTECTED]>
> Subject: Re: NSPredicateEditor and date comparisons
> To: [EMAIL PROTECTED]
> Cc: "Cocoa-Dev List"
> Received: Sunday, 7 December,
Ah, yes, that would be the more accurate way to explain it. I have an
NSDatePicker in my NSPredicateEditor and no funny business is going on
with conversions. It's just the simple default, setup-in-IB usage.
So I guess the question is better put: is there any guarantee about
the time of an
I'm a bit confused by your post. NSPredicateEditor doesn't compare any dates,
it just creates NSPredicates. Maybe you're saying that if you have a
NSDatePicker in your NSPredicateEditor, that it creates a predicate with a date
set to 13:41:40. If that's the case, then it probably has more to do
On 4 Nov 2008, at 3:38 pm, Guy Umbright wrote:
I have an NSPredicateEditor in an NSTabView. But when I add enough
predicate items to the point where the vertical scrollbar should
appear, it does not.
My question is am I wrong to expect it to handle the scrollbar or am
I missing somethin
On Nov 2, 2008, at 9:09 PM, Chris Idou wrote:
Has anyone been able to add menu items to the first popup while it
is running? Or are you pretty much stuck with whatever the initial
values were? I've tried various things and haven't been able to do it.
If you want to change the items av
Yes, I thought I had an NSButton, but it turned out I'd wrongly put in a
NSPopupButton.
--- On Tue, 10/28/08, Peter Ammon <[EMAIL PROTECTED]> wrote:
> From: Peter Ammon <[EMAIL PROTECTED]>
> Subject: Re: NSPredicateEditor error
> To: [EMAIL PROTECTED]
> Cc: coc
On Oct 27, 2008, at 10:07 PM, Chris Idou wrote:
I'm getting the following error:
In , different number of items (3)
than predicate template views (4) for template 0x12487e0: [move:] [] NSStringAttributeType>
From experimenting, the only difference between the
NSPredicateEditorRowTemplat
On Oct 27, 2008, at 11:28 AM, Peter Ammon wrote:
On Oct 25, 2008, at 4:07 AM, Chris Idou wrote:
Has anyone found a way to make a row in the NSPredicateEditor to
have components taller than the standard height or a more
complicated arrangement of components, or are you pretty much
limi
On Oct 25, 2008, at 4:07 AM, Chris Idou wrote:
Has anyone found a way to make a row in the NSPredicateEditor to
have components taller than the standard height or a more
complicated arrangement of components, or are you pretty much
limited to one row of buttons, and text fields and simi
I think you can also call setCanRemoveAllRows:NO to prevent the editor
from deleting the last (compound predicate) row.
-barry
On Sun, Sep 21, 2008 at 4:24 PM, Chris Idou <[EMAIL PROTECTED]> wrote:
>
> There's one or two demo apps on the apple site. I think it's called
> PredicateEditorSample. I
Thank you, that did it!!!
Sandro.
On 21-Sep-08, at 7:24 PM, Chris Idou wrote:
There's one or two demo apps on the apple site. I think it's called
PredicateEditorSample. If the editor is totally empty on start you
may have to initialise it with an empty NSCompoundPredicate so that
you c
There's one or two demo apps on the apple site. I think it's called
PredicateEditorSample. If the editor is totally empty on start you may have to
initialise it with an empty NSCompoundPredicate so that you can at least see
the add button.
You can also search the archives for some tips.
--- O
On Jun 26, 2008, at 6:48 PM, Chris wrote:
On Fri, Jun 27, 2008 at 10:09 AM, Peter Ammon <[EMAIL PROTECTED]>
wrote:
On Jun 25, 2008, at 7:27 PM, Chris wrote:
The net effect is that NSPredicateEditor can't display a predicate
like
NOT (foo = "bar")
A bug in NSPredicateEditor system
On Fri, Jun 27, 2008 at 10:09 AM, Peter Ammon <[EMAIL PROTECTED]> wrote:
>
> On Jun 25, 2008, at 7:27 PM, Chris wrote:
>
>>
>> The net effect is that NSPredicateEditor can't display a predicate like
>>
>> NOT (foo = "bar")
>>
>>
>> A bug in NSPredicateEditor system perhaps? But surely someone woul
On Jun 25, 2008, at 7:27 PM, Chris wrote:
The net effect is that NSPredicateEditor can't display a predicate
like
NOT (foo = "bar")
A bug in NSPredicateEditor system perhaps? But surely someone would
have
seen it before.
Hi Chris,
NOT type compound predicates only support exactly on
On Wed, Jun 25, 2008 at 4:12 PM, Peter Ammon <[EMAIL PROTECTED]> wrote:
> If the holds down the option key and clicks a + button, it will insert
> another compound row, so the user can make arbitrarily complex predicates.
Well this is incredibly "undiscoverable UI". Bug report time!
--Kyle Slude
Hi Chris,
If the holds down the option key and clicks a + button, it will insert
another compound row, so the user can make arbitrarily complex
predicates. If this doesn't seem to happen, make sure the nesting
mode is set to compound.
By default, NSPredicateEditor supports And, Or, and N
Cool.
Now I notice that if you manually plug in a complex predicate like "a
= b or c = d and e = f", that it is capable of displaying it correctly.
Do you know if there is any way to allow the user to create more
complex expressions? By default it only seems to allow either AND or
OR, bu
On Wed, Jun 25, 2008 at 1:08 AM, Chris <[EMAIL PROTECTED]> wrote:
> Let's say I create a NSPredicateEditor and it looks like this:
>
>
> [All] of the following are true:
>
> [Name] equals [ ]
> ---
>
> So the user enters say "Fred" a
29 matches
Mail list logo