Re: document based app, custom ibaction

2008-08-19 Thread Bart Beulen
Sorry, didn't know I had to connect the outlets of the mydocument class through file owner This basically solved my problems. Op 19 aug 2008, om 14:03 heeft Graham Cox het volgende geschreven: On 19 Aug 2008, at 7:03 pm, Bart wrote: Another similar problem. I would like to

Re: document based app, custom ibaction

2008-08-19 Thread Bart
g an array controller. This is fine, but I would like to perform some calculations on the same data and present the results in a pop-up window. I guess the method described above should be a nice way to do this. Op 19 aug 2008, om 09:50 heeft Bart Beulen het volgende geschreven: Than

Re: document based app, custom ibaction

2008-08-19 Thread Bart Beulen
Thanks, Again sloppy programming didn't know this could cause problems although the compiler was not worried. I guess I will not make such an error anymore in the future. :o) Op 19 aug 2008, om 09:31 heeft Graham Cox het volgende geschreven: On 19 Aug 2008, at 5:08 pm, Bart

Re: document based app, custom ibaction

2008-08-19 Thread Bart
the getTotals method. Everything compiles ok, but when I push the button nothing happens. Am I missing something somewhere? Some help would very much be appreciated! Op 18 aug 2008, om 19:32 heeft Bart Beulen het volgende geschreven: I've connected a simple button to the First Responder. I

Re: document based app, custom ibaction

2008-08-18 Thread Bart Beulen
anything? Op 18 aug 2008, om 19:12 heeft Sherm Pendley het volgende geschreven: On Mon, Aug 18, 2008 at 9:52 AM, Bart Beulen <[EMAIL PROTECTED]> wrote: However I would like to add a button in my document which is connected to some code, to process the data in the array (etc count up d

document based app, custom ibaction

2008-08-18 Thread Bart Beulen
on from my GUI to this action (normally I can ctrl-drag from the button to the object, but I guess this works different for document based apps? Some help would be appreciated. Bart ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

checkbox in nstableview

2008-06-14 Thread Bart Beulen
- (NSInteger *)POIEnabled { return POIEnabled; } I think the actual problem is that I have to get and set the value of the checkbox in another way (not using NSInteger, I tried also using a BOOL but that doesn't work). I searched online but could not find an actual solution or usable hints.

xml parsing

2008-06-13 Thread Bart Beulen
Hi All I'm new to cocoa and working on an xml parser. I would like to parse xml files like the following example bla bla imag1 http://www.blabla.com bla bla2 imag2 http://www.blabla2.com bla bla3 imag3 http://www.blabla

Re: NSAlert

2008-04-25 Thread Bart Beulen
Problem solved, I had to fill in: [NSApp mainWindow] I cannot find out how to refer to the window of my single window program in the method: beginSheetModalForWindow Some help would be appreciated! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

NSAlert

2008-04-25 Thread Bart Beulen
I'm new to cocoa, I'm trying to display an alertbox. This is the code: NSAlert *alert = [[[NSAlert alloc] init] autorelease]; [alert addButtonWithTitle:@"OK"]; [alert addButtonWithTitle:@"Cancel"]; [alert setMessageText:@"Delete the record?"]; [alert setInformativeText:@"Deleted records cannot be