Mike: thanks. I’ve been trying to avoid getting into the widget modification part of livecode. I just figured there must be an easy way to initialize the widget’s selection. I did look at the dictionary API entry and it doesn’t tell me anything about how I would code an initialization to a particular hilight.
Best, Bill > On Apr 17, 2017, at 5:57 PM, Mike Kerner via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Go into the API, then in the picker on the top left, pick "Segmented > Control". There is one message and a bunch of properties. > Also, if you get stuck, some time, all the widgets have their source > available, and since they're written with LCB, it's pretty easy to read > (the documentation for each is at the beginning). On git pick the LC > repo, then drill down to extensions->widgets. > > > On Mon, Apr 17, 2017 at 7:25 PM, William Prothero via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Folks: >> >> I’ve tried the obvious, but:: >> How do I initialize the segmented control? >> >> I’ve tried: there are 3 items named analysis,valveSel,timer >> set the hilited of control "timerNav" of this cd to “ timer” >> >> set the hilitedItems of widget "timerNav" to "timer" >> >> set the hilited of widget "timerNav" to "timer" >> >> It oughta be easier! >> >> What is the proper syntax? >> >> Best, >> Bill >> >> William A. Prothero >> http://earthlearningsolution.org/ >> >> _______________________________________________ >> 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 > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > 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