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.
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
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 rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
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