Hey stan..

The solution is in your  mouse down handler..use "repeat while the
stillDown" as shown below:

on mouseDown
  repeat while the stillDown
    scrollByLine member "txt2", +1
    end repeat
end

This should solve your problem..

In the above case "on mouse down" the line will scroll down 1 line by line
till it reaches the end..

Only happy to help you..

Anil Menon




----- Original Message -----
From: stanly kadamala <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 10, 2000 1:28 PM
Subject: <lingo-l> mouseDown scrolling


> Hi all
>
> I have a small problem, using d-8,windows 9x
> Now the problem is I got a text field and I want to scroll the text by
using coustom button. No on mouse up I is working fine.
>
> Now I want it on the mouseDown. Means when I I keep my mouse button
pressed i want to scroll my text one line by line till I reach the end of
the text.
>
> thanks in advance
> stanly
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
> Participate in crazy auctions at http://auctions.rediff.com/auctions/
>
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to