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
e same thing if you want to >> change tooltips as the mouseLoc changes inside the widget. > > > I placed the segmented control widget in a group and put a simple > > on mouseEnter > beep > end mouseEnter > > in the script of the group. > > This did not imple

Re: Segmented Control Widget

2020-11-07 Thread Terence Heaford via use-livecode
mpare the mouseLoc to the rectangles to > see which one it's in. Then set the tooltip to the appropriate string. You > can also add a mouseMove handler to do the same thing if you want to change > tooltips as the mouseLoc changes inside the widget. I placed the segmented control widget

Re: Segmented Control Widget

2020-11-06 Thread Terence Heaford 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 >>> n

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 ha

Re: Segmented Control Widget

2020-11-05 Thread Bob Sneidar via use-livecode
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. >> Is this possible and if so c

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

Segmented Control Widget

2020-11-04 Thread Terence Heaford via use-livecode
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. Is this possible and if so could someone please advise. All

Re: Problems with segmented control widget

2019-08-30 Thread Ben Rubinstein via use-livecode
I forgot to mention that both these issues can be worked around - but surprisingly, the second is easier than the first. Using "wait 0 seconds with messages" after changing the hilitedItems allows the hiliteChanged message to be processed immediately; but even then testing the lockMessages is

Problems with segmented control widget

2019-08-30 Thread Ben Rubinstein via use-livecode
I've been using this widget and found some issues. Before I report the bug(s) I want to check if I'm missing some knowledge or understanding. At various times I need to change the hilitedItems on the control by script; at other times I need to react when the user does so. For the latter case I

Re: Segmented Control widget mouseDown

2018-05-02 Thread Richmond Mathewson via use-livecode
mouseDown/Up on a Segmented Control widget? hiliteChanged is the only message that is documented or shows up in the Script Editor and standard mouseDown/Up handlers aren't acknowledged. Am I missing something or does this need to be enabled first in LCB and then passed to LC? I tried putting

Re: Segmented Control widget mouseDown

2018-05-01 Thread prothero--- via use-livecode
; > (apologies, this was initially sent to the wrong email) > > Is there any way to capture mouseDown/Up on a Segmented Control widget? > hiliteChanged is the only message that is documented or shows up in the > Script Editor and standard mouseDown/Up handlers aren't acknowledged. Am

Segmented Control widget mouseDown

2018-05-01 Thread Andrew Bell via use-livecode
(apologies, this was initially sent to the wrong email) Is there any way to capture mouseDown/Up on a Segmented Control widget? hiliteChanged is the only message that is documented or shows up in the Script Editor and standard mouseDown/Up handlers aren't acknowledged. Am I missing

Re: Detecting clicks in Segmented Control widget

2017-01-25 Thread hlowe via use-livecode
Thank you for the detailed reply. I will take a look at this possible solution. Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Detecting-clicks-in-Segmented-Control-widget-tp4711930p4711943.html Sent from the Revolution - User mailing list archive

Re: Detecting clicks in Segmented Control widget

2017-01-25 Thread Mike Bonner via use-livecode
; wrote: > I am switching over from a home-grown segmented control to LC's Segmented > Control widget. This widget receives a "hiliteChanged" message when the > selected segment changes but (apparently) no message is received by the > widget if the user clicks in the currently

Detecting clicks in Segmented Control widget

2017-01-25 Thread hlowe via use-livecode
I am switching over from a home-grown segmented control to LC's Segmented Control widget. This widget receives a "hiliteChanged" message when the selected segment changes but (apparently) no message is received by the widget if the user clicks in the currently selected segment. I need

Re: Vertical segmented control widget

2016-12-07 Thread Mike Kerner
I'm not sure if this has been done as a widget, but you can certainly accomplish this with a couple of buttons grouped together and a bit of script. On Wed, Dec 7, 2016 at 12:13 PM, rjd318 wrote: > > Hi - I thought I read here once how this is accomplished but can't seem to >

Vertical segmented control widget

2016-12-07 Thread rjd318
Hi - I thought I read here once how this is accomplished but can't seem to find it. Is this possible to do? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription