Hi Kashyap,
> Okay ... I have it working now :) Although, I am not sure if I did the
> right thing - I was able to access the Task using (: home obj)
Great! :)
> (gui '(+Button) "Update"
> '(put!> (: home obj) 'upds
> (cons
> (new! '(+Update)
> 'dsc (val> (field -1)) )
> (get (: home obj) 'upds) ) ) )
Minor notes:
1. ':' can chain the arguments (like all property functions). So instead of
(get (: home obj) 'upds)
you can write
(: home obj upds)
2. The 'cons' is fine but may not be necessary. 'put!>' and related functions
know about the '+List' and take care about. I think just
'(put!> (: home obj) 'upds
(new! '(+Update) ...) )
should be enough.
☺/ A!ex
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe