Okay so here is an odd thing. Given that the imageSource of char 1 of eack line of a scrolling field is set to a graphic (A plus sign in this case):
on selectionChanged put the clickChar into tChar if tText is not space then exit selectionChanged put word 2 of the clickLine into tLine put the buttonlist of me into aButtonList -- an array put aButtonList ["buttonNames"] into tButtonList -- contains names of 3 buttons each line preceded by 2 tabs if tButtonList is not in me then put tButtonList before line tLine+1 of me -- works great! else replace tButtonList with empty in me -- removes the imageSource on char 1 of every line end if end selectionChanged This works, but on the second click it replaces the imageSource on every line. That shouldn't happen should it?? Bob S > On Jun 23, 2017, at 16:23 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > NVM I figured it out. > > Bob S > > >> On Jun 23, 2017, at 16:19 , Bob Sneidar via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I am trying this: >> >> set the imageSource of char 1 of line 1 of field "Scrolling List Field" to >> image ID 200086 >> >> No workie. How do I refer to a built in graphic? I use this to refer to >> imported graphics. >> >> Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode