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 add a sheet

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 wrote:

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
Hi, I'm quite new to cocoa developing, but things start to work out finally. At the moment I'm working at a document based app (first time). It is based on an arraycontroller in combination with a tableview I am able to use buttons to add and delete entries. However I would like to ad

checkbox in nstableview

2008-06-14 Thread Bart Beulen
Hi, I've got an NSTableView with in the first column filled with checkboxes (NSButtonCell), 2nd and 3rd columns have an NSImage and NSString. The NSImage and NSString column work fine. However, I cannot succeed to set the checkboxes and edit the checkboxes. I'm using this code: -(id)tab

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