RE: [us...@lists.monobjc.net] PtrToStructure error

2009-03-25 Thread Mario De Clippeleir
@lists.monobjc.net Subject: Re: [us...@lists.monobjc.net] PtrToStructure error Hello, It is better to use accessors, as the support for KVC is easier: private int myField; public int MyField { [ObjectiveCMessage("myField")] get { return this.myField; } [ObjectiveCMessage("setMy

Re: [us...@lists.monobjc.net] PtrToStructure error

2009-03-25 Thread Laurent Etiemble
the iValue by using SetValueForKey(initValue,”iValue”), which > does the trick… > > > > Br, > > > > Mario > > > > From: laurent.etiem...@gmail.com [mailto:laurent.etiem...@gmail.com] On > Behalf Of Laurent Etiemble > Sent: dinsdag 24 maart 2009 22:08 > T

RE: [us...@lists.monobjc.net] PtrToStructure error

2009-03-25 Thread Mario De Clippeleir
.. Br, Mario From: laurent.etiem...@gmail.com [mailto:laurent.etiem...@gmail.com] On Behalf Of Laurent Etiemble Sent: dinsdag 24 maart 2009 22:08 To: users@lists.monobjc.net Subject: Re: [us...@lists.monobjc.net] PtrToStructure error Hello, Do you use KVC with fields (i.e. using bi

Re: [us...@lists.monobjc.net] PtrToStructure error

2009-03-24 Thread Laurent Etiemble
Hello, Do you use KVC with fields (i.e. using bindings directly with class field) ? If yes, have you tried bindings with accessors instead ? Can you post the classes code (at least the part related to the bindings) ? Regards, Laurent Etiemble. 2009/3/24 Mario De Clippeleir > Hi, > > > > I hav

[us...@lists.monobjc.net] PtrToStructure error

2009-03-24 Thread Mario De Clippeleir
Hi, I have a textfield, a slider and a checkbox. The textfield and slider are connected through bindings using Model Key Path. That works fine, but when I change the value (other than the initial one)and then click the checkbox I get the following error : Unhandled Exception: System.NullRefere