http://forums.livecode.com/viewtopic.php?f=7&t=30180
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listin
To set a scrollbar to vertical, make it taller than it is wide.
On Fri, Nov 17, 2017 at 3:26 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
>
> On 18/11/17 12:05 am, Kaveh Bazargan via use-livecode wrote:
>
>> Hi Bob
>>
>> Guess what. MouseRelease works if you c
On 18/11/17 12:05 am, Kaveh Bazargan via use-livecode wrote:
Hi Bob
Guess what. MouseRelease works if you click either side of the
thumbposition, but not if you click the thumb itself. Looking for another
handler for that.
Not all that surprising given this from the documentation:
"Sent whe
Hi Bob
Guess what. MouseRelease works if you click either side of the
thumbposition, but not if you click the thumb itself. Looking for another
handler for that.
Could there be a more elegant solution? Something like a property or
behavior that resets a scrollbar to its normal size if it is not
Good point.
Richmond.
On 16/11/17 12:22 am, Tore Nilsen via use-livecode wrote:
But Alejandros script also works when you have scrolled up or down and release
the mouse outside of the scrollbar without moving the cursor into the field
area first. . Otherwise width of the scrollbar would have
But Alejandros script also works when you have scrolled up or down and release
the mouse outside of the scrollbar without moving the cursor into the field
area first. . Otherwise width of the scrollbar would have stayed at 30 until
next time the field received a mouseLeave message
> 15. nov. 20
I think you are over-complicating things as this works perfectly:
onmouseEnter
setthescrollBarWidthofmeto120
endmouseEnter
onmouseLeave
setthescrollBarWidthofmeto0
endmouseLeave
Richmond.
On 15/11/17 11:05 pm, Alejandro Tejada via use-livecode wrote:
Today, while trying to understand
Today, while trying to understand why my own code does not work, I
learned about the text field scrollbarWidth property. :-)
1) create a new stack
2) create/insert/drag and drop a scrolling text field in this new stack
3) edit the text field script and insert these handlers:
-- --
Thanks bob. I replied to your first response. Mouserelease sounds good. I
didn't know if it and will try later.
On Wed, 15 Nov 2017 at 17:53, Kaveh Bazargan <
ka...@rivervalleytechnologies.com> wrote:
> No :-(
>
> On 15 November 2017 at 17:48, Bob Sneidar via use-livecode <
> use-livecode@lists.r
No :-(
On 15 November 2017 at 17:48, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Does mouseUp get sent to the control when you release the thumb pointer?
>
> Bob S
>
>
> > On Nov 15, 2017, at 09:36 , Kaveh Bazargan via use-livecode <
> use-livecode@lists.runrev.com> wro
Look at mouserelease.. it should be sent to the scrollbar control if the
mouse is released outside the control area, so you should be able to use
the mouserelease message to reset your scrollbar to small size.
On Wed, Nov 15, 2017 at 10:36 AM, Kaveh Bazargan via use-livecode <
use-livecode@lists.
Does mouseUp get sent to the control when you release the thumb pointer?
Bob S
> On Nov 15, 2017, at 09:36 , Kaveh Bazargan via use-livecode
> wrote:
>
> I have a set of scrollbars that are normally small, to preserve screen
> space. But I want them to expand when mouse enters, so give finer
I have a set of scrollbars that are normally small, to preserve screen
space. But I want them to expand when mouse enters, so give finer control,
then to shrink again when mouse leaves. I have managed to do this with
mouseEnter and mouseLeave.
Problem is that if I drag the thumb pointer with mouse
Also, don't forget about mouseEnter, and how could I forget the touch
events (touchStart, touchRelease, touchMove, touchEnd)
On Fri, Jul 5, 2013 at 8:04 AM, Mike Kerner wrote:
> John,
> According to the docs, yes, however the docs also note that mouseWithin is
> sent continuo
John,
According to the docs, yes, however the docs also note that mouseWithin is
sent continuously while the object has the touch, so mouseMove is more
efficient.
On Fri, Jul 5, 2013 at 3:13 AM, Jim Sims wrote:
> I don't have what I need to test this so I am asking here.
>
> D
I don't have what I need to test this so I am asking here.
Does mouseLeave and mouseWithin work with iOS?
If you run your finger over a set of buttons do they change with mouseLeave
and mouseWithin or does one need tap?
sims
___
use-liv
Hi Bob,
Am 25.06.2012 um 18:35 schrieb Bob Sneidar:
> I have read in another post that you can vastly improve the performance of
> the mouseTrap function by issuing "set catnap to true".
:-D :-D :-D
> Bob
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com
_
rom: Peter Haworth
>> To: How to use LiveCode
>> Sent: Sat, Jun 23, 2012 6:01 pm
>> Subject: Re: MouseWithin
>>
>>
>> Hi Craig,
>> I'm actually using the mouseLine function in my mouseWithin handler. Since
>> I wrote my email, I found that I ca
I hide my behavior buttons and access the scripts via the Application Browser.
Bob
On Jun 23, 2012, at 3:33 PM, Peter Haworth wrote:
> Thanks Richard. As noted in my reply to Craig, I found a solution by using
> mouseMove in the behavior instead of mouseWithin. There is still an
>
Try creating a mouseWithin handler in both the table control and the behavior
button and put a breakpoint at the beginning of each. See which fires first.
Bob
On Jun 23, 2012, at 12:59 PM, Peter Haworth wrote:
> It would appear that a mouseWithin handler can't be used in a behavior
--
> From: Peter Haworth
> To: How to use LiveCode
> Sent: Sat, Jun 23, 2012 6:01 pm
> Subject: Re: MouseWithin
>
>
> Hi Craig,
> I'm actually using the mouseLine function in my mouseWithin handler. Since
> I wrote my email, I found that I can use the mouseM
What? No mouseHover? I meant mouseLurk.
Craig
-Original Message-
From: Peter Haworth
To: How to use LiveCode
Sent: Sat, Jun 23, 2012 6:01 pm
Subject: Re: MouseWithin
Hi Craig,
I'm actually using the mouseLine function in my mouseWithin handler. Since
I wrote my email, I
>
> > Thanks Richard. As noted in my reply to Craig, I found a solution by
> using
> > mouseMove in the behavior instead of mouseWithin. There is still an
> > anomaly though in that the mouseMove handler fires when the mouse is over
> > the button containing the behavi
Disable the button and you won't have to worry about it.
On Sat, Jun 23, 2012 at 4:33 PM, Peter Haworth wrote:
> Thanks Richard. As noted in my reply to Craig, I found a solution by using
> mouseMove in the behavior instead of mouseWithin. There is still an
> anomaly thou
Thanks Richard. As noted in my reply to Craig, I found a solution by using
mouseMove in the behavior instead of mouseWithin. There is still an
anomaly though in that the mouseMove handler fires when the mouse is over
the button containing the behavior script so I had to take steps to avoid
that
Peter Haworth wrote:
It would appear that a mouseWithin handler can't be used in a behavior
script? The mouseWithin message seems to be sent to the button containing
the behavior script, not the control that references the behavior button.
Am I misunderstanding? If not, any suggestion
Hi Craig,
I'm actually using the mouseLine function in my mouseWithin handler. Since
I wrote my email, I found that I can use the mouseMove message in a
behavior and all works fine so life is good.
By the way, I don't see a mouseHover message in the dictionary - were you
just usi
2012 4:00 pm
Subject: MouseWithin
It would appear that a mouseWithin handler can't be used in a behavior
script? The mouseWithin message seems to be sent to the button containing
the behavior script, not the control that references the behavior button.
Am I misunderstanding? If not, any sugges
It would appear that a mouseWithin handler can't be used in a behavior
script? The mouseWithin message seems to be sent to the button containing
the behavior script, not the control that references the behavior button.
Am I misunderstanding? If not, any suggestions for how to overcome thi
29 matches
Mail list logo