|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i was wondering if anyone knows how to change the range of a seperate hsbar in a dialog to the length of a currently playing mp3 bcoz range 0 $!inmp3.length doesnt work  any help gr8ly appreciated
new username: tidy_trax
|
|
|
|
Joined: May 2003
Posts: 730
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 730 |
u can use /did -z DNAME ID to update the horizontal bar of the listbox, if u specify the hsbar option
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i know that doesn't help as the horisontal scrollbar is seperate, it isnt on a listbox. i want to use it like a trackbar
new username: tidy_trax
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
/did -z <name> <id> <min> <max> for example: /did -z mp3dialog 12 0 $inmp3.length
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
did -z is only if the scrollbar is in a listbox, this 1 isnt connected to anything.
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
did -z is only if the scrollbar is in a listbox No it isn't, I've used it before...
|
|
|
|
Joined: May 2003
Posts: 730
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 730 |
-z is for listbox scrollbar AND scroll, if u use it for scroll it will update the range of the scrollbar
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
o ok i was just going by what it said in mirc help  cheers you 2
new username: tidy_trax
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
now 1 more question please  do you know how to get the range of the scrollbar to use in another command? coz im also going to use it as a seek bar. thanx a lot so far 
Last edited by pheonix; 23/05/03 06:04 PM.
new username: tidy_trax
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
its ok now i got it  cheers now can i ask 1 more question please  do you know how to get the range for a scrollbar?
Last edited by pheonix; 23/05/03 06:42 PM.
new username: tidy_trax
|
|
|
|
Joined: May 2003
Posts: 730
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 730 |
$did(name,id).lines will return the MAX part from the range so if the range is from 10 to 50 it will return 50, if u want it return 40 in this case so i don't think it's possible
|
|
|
|
Joined: Dec 2002
Posts: 699
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 699 |
|
|
|
|
Joined: May 2003
Posts: 730
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 730 |
no, $did(name,id).sel will return the current position of the scrollbar, not the range
|
|
|
|
Joined: Dec 2002
Posts: 699
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 699 |
Yep you're right it will, I misread the question, sorry.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
hmm my friend said its using very complicated gettoks  cheers anyway you 2
new username: tidy_trax
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
I read this thread after I posted to that one, so check it out.
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
|
|