Dear programmers,
There's some sort of bug in my help system, wondering if anyone can help. I
have a set of nested folders in the help system: one for tutorial, one for user
manual, but one link doesn't work in the help system, but works fine if I click
it directly (even if I go into the applica
On Sat, Jun 5, 2010 at 1:19 AM, jeremy wrote:
> Would you provide some additional information:
>
> 1) Is the IB designed custom view in MainWindow.xib or is it in its own nib
> file?
>
> 2) Did you create a custom view controller class to manage the screen full
> of content shown in the custom vi
I'd like to implement a list view for a small number of items, which the user
can add to or remove from by clicking [+] and [-] buttons in the margin. The
height of the view will vary with the number of items. In this particular
case, each item would be a popup menu.
It would be similar to th
I have (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication
*)sender in my app delegate and it gets called when the user quits if **no**
documents have been edited (I'm using Core Data). If one of my documents **is**
edited it doesn't get called. It goes right to -
(void)clos
It turns out that things work almost as expected - but not during the drag.
This flag seems to have no effect.
I add the tracking area and then I have this:
[self dragImage:dragImage at:dragImageCenter offset:NSMakeSize(0.0, 0.0)
event:theEvent pasteboard:pboard source:self slideBack:YES];
I had this happen a couple times when dealing with threading accidents. If the
tracking rects are added from a secondary thread or the window is ordered front
by a secondary thread, then the tracking areas will be stuck in a pending
state. There's probably more reasons for this but these are t
Hello all,
I have a subclassed NSImageView that is a drag source and a drag destination. I
am trying to have an NSTrackingArea so that when the drag out of the image view
leaves they window I can update the cursor to indicate deletion of the item - I
am thinking of the cursor that looks like an
On Jun 11, 2010, at 7:04 AM, Florian Soenens wrote:
> When i put default buttons or a NSSearchfield or a NSProgressindicator on top
> of my custom view, the subitems display a background.
By “on top of”, do you mean they’re subviews of your custom view, or siblings
that are just positioned in
Thanks for the code Graham. I implemented it just with a simple boolean to
control whether it is really printing or not, and that will be sufficient for
my current needs, but I'll keep your solution in mind for if I come across it
again.
Gideon
On 11/06/2010, at 10:36 PM, Graham Cox wrote:
>
Ken,
> Yes, it is impossible.
That's what I thought.
> Those bindings are two-way. (Not all are, but those are.) Thus, when the
> bound-to property changes, so does the view's selection. Now, how would this
> work if the view's selection were bound to two different properties? What if
> t
On Jun 11, 2010, at 9:33 AM, vincent habchi wrote:
> I have a popUp button with which I'd like to update two objects at the same
> time (one with the selected index, and the other with the selected value).
> Can you confirm me it is impossible (once one binding of the selected type is
> set, th
On 12/06/2010, at 12:39 AM, wrote:
> I'm working on a droplet where a user can drop an eps image and
> zoom in on it. I'm running it in Leopard 10.5.8. It's working
> decently, but when I zoom it looks all pixelated.
Try disabling caching on the NSImage, then it will be forced to draw al
Hello,
I'm working on a droplet where a user can drop an eps image and
zoom in on it. I'm running it in Leopard 10.5.8. It's working
decently, but when I zoom it looks all pixelated.
>From experimenting, I found that if I add this code to the
"- (void)zoomIn:(id)sender" function it makes i
Hi there,
I hope this question will be less silly as the previous ones.
Yet, it is very simple: I have a popUp button with which I'd like to update two
objects at the same time (one with the selected index, and the other with the
selected value). Can you confirm me it is impossible (once one bind
Hi list,
here's a question about using NSControl objects on a custom view.
I have a couple of custom NSView that draw a gradient or a background pattern
etc...
When i put default buttons or a NSSearchfield or a NSProgressindicator on top
of my custom view, the subitems display a background.
For
Graham hello.
In case its the context, what can be an approach to try?
thx
G.
On Jun 11, 2010, at 3:09 PM, Graham Cox wrote:
>
> On 11/06/2010, at 10:59 PM, Gustavo Pizano wrote:
>
>> any idea why Im not getting full opacity?
>
>
> Opacity is neither an image nor an NSImageView property, it
On Jun 11, 2010, at 3:09 PM, Graham Cox wrote:
>
> On 11/06/2010, at 10:59 PM, Gustavo Pizano wrote:
>
>> any idea why Im not getting full opacity?
>
>
> Opacity is neither an image nor an NSImageView property, it's applied when
> the image is drawn (unless the image itself has some inherent
On 11/06/2010, at 10:59 PM, Gustavo Pizano wrote:
> any idea why Im not getting full opacity?
Opacity is neither an image nor an NSImageView property, it's applied when the
image is drawn (unless the image itself has some inherent transparency).
There's nothing in the posted code that would a
Hello all..
In my Core Data app, Im fetching a NSData property corresponding an image.
Now Im binding an NSImageWell value to the Entity's array controller and
setting the propper keypath and setting the value transformer to
IZImageTransformer
The image value for each MO appears but I realized
On 11/06/2010, at 3:06 AM, Gideon King wrote:
> Hi, I have an offscreen view that I want to get the PDF data from. I use the
> dataWithPDFInsideRect method, but I have found that this creates an
> NSPrintOperation. This is a problem because I want to print using different
> settings for this v
On 11/06/2010, at 6:03 PM, Tony Romano wrote:
> I guess I don't understand. Validating the drop to me is different then the
> "type" of drop action. Both in the validate and the accept, the user decides
> the "type" of drop action(copy/move) .
That's true, but in the case of the validate ca
Le 11 juin 2010 à 07:24, Graham Cox a écrit :
> The two methods do much the same work so there's a good opportunity to factor
> the code as Jens suggests, but locally saving the return value from
> validation works OK and appears to be all I can do.
Saving a return value in a ivar is usually no
I guess I don't understand. Validating the drop to me is different then the
"type" of drop action. Both in the validate and the accept, the user decides
the "type" of drop action(copy/move) . The validate method decides if the user
is allowed with the operation which is what is determined by
23 matches
Mail list logo