Re: Trying to use the Segmented Control

2020-11-28 Thread ELS Prothero via use-livecode
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

Re: Trying to use the Segmented Control

2020-11-28 Thread Brian Milby via use-livecode
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 hi

RE: Trying to use the Segmented Control

2020-11-28 Thread Ralph DiMola via use-livecode
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

Trying to use the Segmented Control

2020-11-28 Thread prothero--- via use-livecode
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 hilite