Pictures for Lister Style in a Button

Hi,

I have design a "Style" for manage photos and pictures.

Then I have created Button and use the Function Prefs STYLELIST="PhotoManager" and set an icon to the button.

I have seen there will be shown no icon. It show me all defined Styles.

Is it possible set a icon for a Style to display an icon when I use it into a Button?

Thanks

If you want a list of all styles with icons:

Prefs STYLELIST SHOWICONS

If you want a button for just a single style, you should use the STYLE argument not the STYLELIST argument:

Prefs STYLE="PhotoManager"

(The single-style button will use whichever icon and label you assign to the button.)

1 Like

Thank you it works very well and it is helpful.

1 Like