script for changing icons of LC widget "Segmented Controls"?

Monte Goulding monte at appisle.net
Tue Nov 1 02:10:21 CET 2016


In the dictionary click on the api menu and choose “Segmented Control” then filter for itemIcons which is a comma delimited list of names from the svg library.

Cheers

Monte

> On 1 Nov. 2016, at 12:06 pm, Nicolas Cueto <niconiko at gmail.com> wrote:
> 
> ​In case the subject line is not clear enough...
> 
> LC widgets include a choice of icons (for the "Segmented Controls" widget
> these range alphabetically from "adjust" to "youtube"), and these icons can
> be selected/changed through the "Object inspector".
> 
> But, how can the icon be changed from a script?
> 
> The only reference I could find in the LC Forum (nothing in the LC8.1
> dictionary) was to "navicon". But, no luck.
> 
> Thanks.
> 
> --
> Nicolas Cueto
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list