select previous and next clickline

Ban Nguyen bann at sunncomm.com
Mon Jul 11 18:02:27 EDT 2005


Thank you David.  It helps me a lot....

By the way.  How can I create a volume control to control a song? And I
would like to create a progress bar for an audio.  You have any idea?
Thank you




-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David
Squance
Sent: Monday, July 11, 2005 2:20 PM
To: How to use Revolution
Subject: Re: select previous and next clickline

Ban Nguyen wrote:

>Hello
>
>What command do you use to select the previous and next clickline in
the
>scrolling list field.  Thank you
>  
>
I think what you're looking for is 'word 2 of the clickline'. When you 
evaluate 'the clickline' (eg type 'put the clickline' so that the msg 
box opens and 'the clickline' appears in it), you will see 'line x of 
field y' where x is the line number and y is the field number. Word 2 of

the click line is the line number, so your mouseup handler would need to

include a global variable to which word 2 of the clickline is assigned. 
Then the previous button would subtract 1 from that variable and do 
whatever to that line. Similarly, the next button would add 1 to the 
variable.

I'm afraid I've lost your last post, so can't put example lines into 
your script to illustrate, but hope this helps.
Dave
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list