Brian and Ralph,
Thanks. I gave up because there are easier, more obvious ways to do what I 
want. Several posts have mentioned shortcomings in the segmented control widget 
and I think if it would respond to mousedown and mouseup messages, it would be 
easier to use in more situations, as well. It could use an upgrade, in my 
humble opinion!

Best,
Bill

William Prothero
http://es.earthednet.org

> On Nov 28, 2020, at 3:52 PM, Brian Milby via use-livecode 
> <[email protected]> wrote:
> 
> The widget isn’t impacted by lock messages.  I have used it in the past to 
> switch cards and just checked for the current card to avoid the loop.  That 
> doesn’t sound like it would work here.  You could use a script local flag 
> though.  Set sNoAction to true before changing the hilight; in your 
> hiliteChanged handler exit if sNoAction is true (but probably reset the flag 
> before exiting).
> 
> Sent from my iPhone
> 
>> On Nov 28, 2020, at 6:14 PM, Ralph DiMola via use-livecode 
>> <[email protected]> wrote:
>> 
>> Put an lock/unlock messages around your code to keep from getting a message 
>> when you are doing those type of changes.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> [email protected]
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:[email protected]] On Behalf 
>> Of prothero--- via use-livecode
>> Sent: Saturday, November 28, 2020 5:32 PM
>> To: JJS via use-livecode
>> Cc: [email protected]
>> Subject: Trying to use the Segmented Control
>> 
>> Folks:
>> I’m trying to use the segmented control and a navigation button on a card. 
>> Its purpose is to go to various location in my app. The only message it 
>> seems to respond to is hiliteChanged. But when I then try to set the hilites 
>> to empty (so no segments are hilited), it triggers another hiliteChanged 
>> message. This makes it a real pain to use for what I want. 
>> 
>> I see there have been numerous discussions about this control. It’s been a 
>> time-waster for me.
>> 
>> Bill
>> 
>> William A. Prothero
>> Santa Barbara, CA. 93105
>> http://earthlearningsolutions.org/
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to