Have a volumebar not do anything when clicked

Help each other out

Have a volumebar not do anything when clicked

Postby scottw on Wed Jan 23, 2008 6:12 pm

I want to add a volumebar for winamp to just display the current volume in a slider but not change when clicked. There are other buttons close to the volumebar and I don't want anyone accidentally clicking in the middle of the bar and increasing the volume. I tried adding an invisible button over top of the bar but it still changes when clicked.

Am I missing something or can this not be done?

Thanks,
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: Have a volumebar not do anything when clicked

Postby Grooby on Wed Jan 23, 2008 8:23 pm

I may be way off base and completely read your post wrong but couldnt you just take the tick out of the navigation box on ur volume bar?

Andy
Grooby
 
Posts: 432
Joined: Tue May 18, 2004 12:53 pm
Location: England

Re: Have a volumebar not do anything when clicked

Postby Marbles_00 on Wed Jan 23, 2008 9:32 pm

just take the tick out of the navigation box on ur volume bar?

The problem with that is if your using a touchscreen, navigation doesn't matter. Most times if you place a button behind an image of some sort, it won't trigger events, but it would appear that the volumebar...since it is hardcoded, behaves differently.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Re: Have a volumebar not do anything when clicked

Postby scottw on Thu Jan 24, 2008 1:30 am

Thanks guys I just wanted make sure I was not crazy and missing something. Let me know if you come up with anything.


Thanks,
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: Have a volumebar not do anything when clicked

Postby PhilB on Thu Jan 24, 2008 1:48 am

Why not just use some text to display the current volume. Like this:

audioplayer>%volume%
PhilB
 
Posts: 283
Joined: Sat Feb 18, 2006 6:38 pm

Re: Have a volumebar not do anything when clicked

Postby scottw on Thu Jan 24, 2008 1:50 am

Thanks Phil,

I did do this at first but loved the way the bar looked so much better but this may be the way I go.

Thanks again!!!
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: Have a volumebar not do anything when clicked

Postby PhilB on Thu Jan 24, 2008 2:04 am

Have you also tried just placing a rectangle in front of the bar and setting it transparency to 0? It sounds like someone actually tried that but I have not....
PhilB
 
Posts: 283
Joined: Sat Feb 18, 2006 6:38 pm

Re: Have a volumebar not do anything when clicked

Postby scottw on Thu Jan 24, 2008 2:08 am

I have put an "invisible" button on top and cover the whole bar and it did not work but I have not tried a rectangle. I will try but doubt it will work but thanks for the suggestion. :D
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: Have a volumebar not do anything when clicked

Postby m_ski on Thu Jan 24, 2008 12:31 pm

I suggest you add a button in front of it but the graphic you use for the button should be a transparent png image. DO NOT make the button 'invisible' as it can't be activated if it is invisible, you actually want the user to click the transparent button but nothing to happen when this is done.
m_ski
 
Posts: 204
Joined: Wed Dec 08, 2004 7:57 am
Location: Kent, United Kingdom

Re: Have a volumebar not do anything when clicked

Postby scottw on Thu Jan 24, 2008 12:54 pm

Thanks for the suggestions guys but none of these work.

Phil,
I tried the rectangle, made sure it was in the front and even tried assigning an event to it and when clicked it would adjust the volume and trigger the event.

M_ski,

By invisible button, I meant a transparent png, sorry about the confusion.
Thanks for trying!!!


Any other ideas???
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland