Is it possible to add buttons/images on the scrolling field list?
For example:
---------------
List A [>]
---------------
List B [>]
---------------
List C [>]
---------------
...
where [>] is an arrow-button.
Is it also possible to add 2 lines per list? E.g.,
---------------
List A
some descriptions...
---------------
List B
some descriptions...
---------------
...
Scrolling field with buttons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Scrolling field with buttons
Hi shoshinsha,
You can have a group with all objects you want: fields, buttons, images and also groups.
Best regards
Jean-Marc
I think yes but using groups is a best way.Is it possible to add buttons/images on the scrolling field list?
You can have a group with all objects you want: fields, buttons, images and also groups.

Best regards
Jean-Marc
https://alternatic.ch
Re: Scrolling field with buttons
Hi shoshinsha,
1. welcome to the forum!
2. What Simon said!
3. You can add images to any field, see "imagesource" in the dictionary, but not buttons!
But one can script a field that way, that the images act like buttons.
4. For a real cool user experience, use a DATAGRID of type FORM.
But beware, Datagrids are the most complex objects in Livecode and definitively NOT beginners stuff, especially the FORM tpye.
Sad, but true!
5. Livecode list fields can only display ONE line of text!
Best
Klaus
1. welcome to the forum!

2. What Simon said!
3. You can add images to any field, see "imagesource" in the dictionary, but not buttons!
But one can script a field that way, that the images act like buttons.
4. For a real cool user experience, use a DATAGRID of type FORM.
But beware, Datagrids are the most complex objects in Livecode and definitively NOT beginners stuff, especially the FORM tpye.
Sad, but true!

5. Livecode list fields can only display ONE line of text!
Best
Klaus
Re: Scrolling field with buttons
Hi.
What Klaus said. Without using a data grid, you can create imageSource characters that look like buttons in a list field. They will scroll with the list. You can determine the clickLine where the user clicked, and in that way determine which "button" was clicked. You may need the clickLoc as well, so that you can determine whether the user wanted to click on a "button" as opposed to merely on the line. Then you can write a mouseUp handler for the field that will act on each "button" as you wish.
You can arrange the "buttons" in alternate rows, so that your secondary information will appear below each one.
This will be a hill of fun. Do you know how to start? Write back after you get stuck.
Craig Newman
What Klaus said. Without using a data grid, you can create imageSource characters that look like buttons in a list field. They will scroll with the list. You can determine the clickLine where the user clicked, and in that way determine which "button" was clicked. You may need the clickLoc as well, so that you can determine whether the user wanted to click on a "button" as opposed to merely on the line. Then you can write a mouseUp handler for the field that will act on each "button" as you wish.
You can arrange the "buttons" in alternate rows, so that your secondary information will appear below each one.
This will be a hill of fun. Do you know how to start? Write back after you get stuck.
Craig Newman