|
Pages: [1]
|
 |
|
Author
|
Topic: on-click the name on textlist to display the data? (Read 342 times)
|
newbie
Guest
|
Hi, may I ask how to on click the one of the name on the text-list in order to display the whole list of data on the textbox? Thank you
|
|
|
|
|
Logged
|
|
|
|
|
CarlRead
|
Not sure if I fully understand your question, but if it's that you want to select all items in a list, this little script shows how to do that... rebol [] a-list: [ "aaa" "bbbb" "ccccc" ] view layout [ t: text-list data a-list [ probe face/picked ] button "Select All" [ clear t/picked insert t/picked t/data show t ] button "Clear All" [ clear t/picked show t ] ]
It also outputs the contents of the picked block to the console when you click on a list item. Use Ctrl/click to select more than one item manually and see the output reflect that. Hope this was some help - was answering the question you were asking...
|
|
|
|
|
Logged
|
- Carl Read
|
|
|
newbie
Guest
|
Not sure if I fully understand your question, but if it's that you want to select all items in a list, this little script shows how to do that... rebol [] a-list: [ "aaa" "bbbb" "ccccc" ] view layout [ t: text-list data a-list [ probe face/picked ] button "Select All" [ clear t/picked insert t/picked t/data show t ] button "Clear All" [ clear t/picked show t ] ]
It also outputs the contents of the picked block to the console when you click on a list item. Use Ctrl/click to select more than one item manually and see the output reflect that. Hope this was some help - was answering the question you were asking... But if I want to select only one of the content not select all to be display on the textbox not on the console.. thank you
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |