Re: Segmented Control Widget

2020-11-09 Thread Terence Heaford via use-livecode
I will give this a try. It’s a shame that widgets always seem to be incomplete in one way or another. Thanks for your help. All the best Terry > On 9 Nov 2020, at 16:52, Bob Sneidar via use-livecode > wrote: > > In my custom tabbed object group, I had to put transparent buttons over the

Re: Segmented Control Widget

2020-11-09 Thread Bob Sneidar via use-livecode
I believe so. In my custom tabbed object group, I had to put transparent buttons over the tabs, then have a way to size and rearrange the buttons to match the size of the tabs, just so I could get it to respond to mouse messages and drag/drop operations. It's so ugly it's cute. Like a shar-pei.

Re: Segmented Control Widget

2020-11-07 Thread Terence Heaford via use-livecode
> On 5 Nov 2020, at 20:10, J. Landman Gay via use-livecode > wrote: > > I've done this with a custom control group, it should work with a widget too. > Calculate the rectangles (or at least the left and right edges) of each > segment and in a mouseEnter handler compare the mouseLoc to the

Re: Segmented Control Widget

2020-11-06 Thread Terence Heaford via use-livecode
I can see the advantages of doing it yourself and intend trying both methods as suggested by yourself and Jaqueline. I have noted when trying some of the widgets that they do seem to be rather incomplete. All the best Terry > On 5 Nov 2020, at 22:43, Bob Sneidar via use-livecode > wrote:

Re: Segmented Control Widget

2020-11-06 Thread Terence Heaford via use-livecode
Thanks for your suggestion will give it a try. All the best Terry > On 5 Nov 2020, at 20:10, J. Landman Gay via use-livecode > wrote: > > On 11/5/20 1:47 AM, Terence Heaford via use-livecode wrote: >> I have been messing about with the Segmented Control Widget and have been >> trying to

Re: Segmented Control Widget

2020-11-05 Thread Bob Sneidar via use-livecode
The segmented control is fairly limited. Most of the widgets are. The properties you see are the properties you get. I did however, with a bit of clever scripting, develop a tabbed object group that works as well or better that the built in tabbed button. And for a bonus, it looks in Windows

Re: Segmented Control Widget

2020-11-05 Thread J. Landman Gay via use-livecode
On 11/5/20 1:47 AM, Terence Heaford via use-livecode wrote: I have been messing about with the Segmented Control Widget and have been trying to apply a tooltip. I noted that the tooltip can only be applied to the whole control, it does not appear possible to have a tooltip for each segment.

Re: Segmented Control widget mouseDown

2018-05-02 Thread Richmond Mathewson via use-livecode
I was fiddling around with this at the weekend trying to work out how it worked, and was surprised by the lack of mouseDown/Up as well. Richmond. On 2/5/2018 8:16 am, Andrew Bell via use-livecode wrote: (apologies, this was initially sent to the wrong email) Is there any way to capture

Re: Segmented Control widget mouseDown

2018-05-01 Thread prothero--- via use-livecode
I had the same experience as Andrew. I would love to see a mousedown and mouseup message sent to this widget. Bill William Prothero http://earthlearningsolutions.org > On May 1, 2018, at 10:16 PM, Andrew Bell via use-livecode > wrote: > > (apologies, this was