Re: Unexpected scrollbarDrag message

2013-05-22 Thread Peter Haworth
On Wed, May 22, 2013 at 5:13 PM, Alex Tweedly wrote: > Then make the field very slightly less tall - and now simply clicking in > the field causes a tiny scroll because the insertion cursor is being put in > the field. And that generates a 'scrollbardrag' which is picked up by the > handler in th

Re: Unexpected scrollbarDrag message

2013-05-22 Thread Alex Tweedly
I think it's behaving as intended (however strange that may be). Note - there is no need to have any scrollbars anywhere to have scrollbardrag messages generated. The key part (in the docs) is perhaps Summary: Sent to a field, scrollbar, or group when the user drags the scrollbar thumb or whe

Re: Unexpected scrollbarDrag message

2013-05-22 Thread Peter Haworth
On Wed, May 22, 2013 at 3:51 PM, wrote: > Everything works fine when I drag the thumbs, and nothing happens no > matter what I do to the field. What do you have different? > I wish I knew! Here's what I've checked: - the field has no scrollbars enabled - the field has no handlers that send a s

Re: Unexpected scrollbarDrag message

2013-05-22 Thread dunbarx
the field. What do you have different? Craig -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Wed, May 22, 2013 6:33 pm Subject: Unexpected scrollbarDrag message I have a card with a number of slider scrollbars on it and a scrollbarDrag handler in the card script to

Unexpected scrollbarDrag message

2013-05-22 Thread Peter Haworth
I have a card with a number of slider scrollbars on it and a scrollbarDrag handler in the card script to deal what happens when any of the sliders are moved. I also have a field associated with each scrollbar which receives the thumbpos of its associated slider. All that works fine However, if I