[REBOL] binding object content to layout items ...
From: petr::krenzelok::trz::cz at: 24-May-2001 11:11
can anyone suggest me how to bind object (database) items to layout
ones? I have following scenarion in mind:
inet-init: context [
Now I would like to create form, which should recognize init or edit
1) Init state
form items should be pre-initialised by inet-init object
2) Edit state
form items should be initialised by stored object which we want to edit
What are possible ways to do so? There is also one other issue - there
are items we would like to represent by different than "field" item on
the screen - e.g. "rotary", but how to do it?
inet-obj: context [
email-type: ["POP3" "Lotus Notes"]
view layout [rotary inet-obj/email-type .... will not work, as we don't
expect block here, but two separate valuues ...
Is there also any easy way of how to auto-layout object to window?