[View] text-list usage as a face
[1/3] from: ingo:2b1 at: 19-May-2002 16:45
Hi all,
I am trying to work with view again, and now I have a little problem:
I am using iterated faces for my layout, but I want to use a text-list
in this iterated face. I copied the face
text-list: select system/view/vid/vid-styles 'text-list
and am using now
make text-list [ ... ]
but it seems to have lost many of its normal functionality ... so I
guess that layout does a little more magic than I first thought. Are
there any ideas on how to
- add actions now?
- change the list data? I tried
append clear My-text-list/data [ "new" "lines" ] show my-text-list
- get the slider/scroller back?
Thanks,
Ingo
[2/3] from: ammon:rcslv at: 22-May-2002 1:15
Hi,
Have you tried 'get-style? 'get-style was designed to avoid that problem.
HTH
Ammon
A short time ago, Ingo Hohmann, sent an email stating:
[3/3] from: ingo:2b1 at: 24-May-2002 20:42
Hi Ammon,
Ammon Johnson wrote:
> Hi,
>
> Have you tried 'get-style? 'get-style was designed to avoid that problem.
No, didn't know about it. But in the end, it's seems to do no more than
my select does.
> HTH
> Ammon
>
> A short time ago, Ingo Hohmann, sent an email stating:
Yore joking ain't ya? It took this mail 5 days to come back to me :-)
>> text-list: select system/view/vid/vid-styles 'text-list
>>
<<quoted lines omitted: 7>>
>>
>>- add actions now?
answer to self:
make face [
...
feel: make feel [
engage: func [face action event] [
...
]
]
]
>>- change the list data? I tried
>> append clear My-text-list/data [ "new" "lines" ] show my-text-list
>>- get the slider/scroller back?
Kind regards,
Ingo
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted