FROM : Trygve Inda
DATE : Tue Aug 29 23:48:23 2006
> On Tue, 29 Aug 2006 12:16:19 +0000, Trygve Inda <<email_removed>>
> said:
>> I have a group of controls that are bound to elements of a dictionary
>> (dict.controlA, dict.controlB etc.).
>>
>> The key/value only gets set when the control is changed by the user. Is
>> there a way to force these bindings to set the keys? The reason is that this
>> dict is written out to disk and then read by another process that would be
>> cleaner if all the keys where there.
>
> Why don't *you* set the keys (when you create the dictionary)? m.
I do now, but it'd be nice if one line of code could do it.
Trygve
DATE : Tue Aug 29 23:48:23 2006
> On Tue, 29 Aug 2006 12:16:19 +0000, Trygve Inda <<email_removed>>
> said:
>> I have a group of controls that are bound to elements of a dictionary
>> (dict.controlA, dict.controlB etc.).
>>
>> The key/value only gets set when the control is changed by the user. Is
>> there a way to force these bindings to set the keys? The reason is that this
>> dict is written out to disk and then read by another process that would be
>> cleaner if all the keys where there.
>
> Why don't *you* set the keys (when you create the dictionary)? m.
I do now, but it'd be nice if one line of code could do it.
Trygve
| Related mails | Author | Date |
|---|---|---|
| Trygve Inda | Aug 29, 14:16 | |
| Matt Neuburg | Aug 29, 19:20 | |
| Trygve Inda | Aug 29, 23:48 | |
| Matt Neuburg | Aug 30, 00:16 | |
| George Orthwein | Aug 30, 03:23 | |
| Trygve Inda | Aug 30, 05:42 | |
| George Orthwein | Aug 30, 08:24 | |
| Trygve Inda | Aug 30, 14:30 |






Cocoa mail archive

