View Full Version : FREE : SliderEx Object Plugin
reteset
03-29-2008, 07:59 AM
hi all
i made a free object plugin for you
Features:
this is same as standard IR Slider Object but it has 3 plus features
1) adustable orientation, Horizontal and Vertical
2) adjustable thumb orientation:
left and right ( available when vertical )
top and bottom ( available when horizontal )
both ( available always )
3)adjustable tick marks (show or hide)
Actions:
actions was remained as standard Slider Actions
with SliderEx prefix
Help File:
there is no help file for this plugin
you can set everything from properties dialog
there are only 3 comboboxes additionally
How To Install:
1) Extract Rar File
2) Copy The "SliderEx" Folder And Paste It Into Your
AMS Installed Path\Plugins\Objects. For AMS6 Users, This Would Be
"C:\Program Files\AutoPlay Media Studio 6.0\Plugins\Objects" Whereas
For AMS7 Users, This Would Be
"C:\Program Files\AutoPlay Media Studio 7.0\Plugins\Objects"
Once You Have Copied The "SliderEx" Folder To The Correct Directory,
The Plugin Is Now Ready To Use
Thanks:
jackdaniels first tester of this plugin :yes
Licence:
you can , what ever you want to do with it :yes
Screenshot Of Available Styles And Properties Dialog
ShadowUK
03-29-2008, 08:26 AM
Downloaded and using. It looks awesome. Well done!
Intrigued
03-29-2008, 08:48 AM
I tried the following for the "On PosChange" event area and it did not work:
Dialog.Message("", "hey")
I did that after setting the Orientation to Vertical
screwed over
03-29-2008, 09:27 AM
Thanks for another awesome plugin. Keep it up. ^.^
RizlaUK
03-29-2008, 09:44 AM
I tried the following for the "On PosChange" event area and it did not work:
Confirmed, on pos change dose not work for vertical slider position, other than that, its perfect, 100% job well done :yes, just what i needed
when this is fixed, IR should replace the slider plugin with this one, in the dristro package....it makes sence to me
reteset
03-29-2008, 12:35 PM
you are right :o
i forgot to add VSCROLL event .
i will fix it as far as possible.
probably ,i will update it tomorrow :yes
thanks alot.
rexzooly
03-29-2008, 12:37 PM
you are right :o
i forgot to add VSCROLL event .
i will fix it as far as possible.
probably ,i will update it tomorrow :yes
thanks alot.
:yes
Mirror:
http://jonny6.pap3rback.net/AMS/?page=reteset
I have not yet got a image on there for this as i use png files and i just have not got around to doing it yet.
but how to install it is there :yes
i will replace this one with th new one when you have done it.
mustafa06
03-29-2008, 01:47 PM
ty too man :yes ;)
reteset
03-30-2008, 07:45 AM
hi again
new update available now
Updates:
1) bug fixed: On PosChange was not working whereas orientation vertical
2) feature added : BorderStyle you can adjust border style of slider
available styles are : (None,Flat,Sunken,Bevel)
3) feature added : Tick Freq you can adjust frequency of tick marks
what is this:
normally, if slider range = 100 then 100 tick marks will be showed
with this setting if slider range = 100 and freq = 10 then 11 tick marks will be showed
math of this setting is range/freq+1 tick marks will be showed
if you set this 0(zero) only 2 tick marks will be showed ,where begin and end
Note: this setting will only affect at run time
4) HelpButton help button deleted from properties dialog
RizlaUK
03-30-2008, 09:22 AM
Very nice, i like the Sunken and Bevel, and tick freq is a good idea (when small slider with 100 ticks, ya get 1 stright line, with this now its prefect)
Thanks Again reteset :yes
longedge
03-30-2008, 10:01 AM
Thanks very much :yes :)
Just one thing - is there a way to make the slider return minimum at the bottom and maximum at the top when it's vertical. I tried changing the values in the properties but that didn't seem to have any effect.
rexzooly
03-30-2008, 10:06 AM
Updated on mirror
Mirror:
http://jonny6.pap3rback.net/AMS/?page=reteset
Intrigued
03-30-2008, 11:23 AM
hi again
new update available now
Updates:
1) bug fixed: On PosChange was not working whereas orientation vertical
2) feature added : BorderStyle you can adjust border style of slider
available styles are : (None,Flat,Sunken,Bevel)
3) feature added : Tick Freq you can adjust frequency of tick marks
what is this:
normally, if slider range = 100 then 100 tick marks will be showed
with this setting if slider range = 100 and freq = 10 then 11 tick marks will be showed
math of this setting is range/freq+1 tick marks will be showed
if you set this 0(zero) only 2 tick marks will be showed ,where begin and end
Note: this setting will only affect at run time
4) HelpButton help button deleted from properties dialog
Excellent reteset. I just did some prelimary testing and I am impressed with what you have done. Everything works so far that I have tested.
I have mirrored this project on amsuser.com as well:
http://www.amsuser.com/ams/examples/SliderEx.rar
mindstitchdr
03-30-2008, 12:58 PM
Outstanding job reteset. Thanks :D
reteset
03-30-2008, 02:08 PM
hi again
new update available
Updates :
1) feature added : Inital Pos you can set a inital position for slider
for example: if you want to show slider with specified position
you can set it from here
this will save you from Page >> On Show : Sider.SetPos(x);
if you do not want to use this feature leave 0(zero)
Note: this setting will only affect at run time
2) feature added : ToolTip you can show slider position with a small tooltip
Yes : tooltip will be showed
No : tooltip will not be showed
when slider horizontal tooltip will be showed top of thumb
when slider vertical tooltip will be showed left of thumb
Note: this setting will only affect at run time
-----------------------------------------------------------
rexzooly and Intrigued thanks for mirroring
but you must work much. :p
because new version available and seems i will continue
longedge
if i understand you correctly,you want to reverse positions of min and max
this feature is not avaiable in this release but i will add
thanks alot
rexzooly
03-30-2008, 02:16 PM
hi again
new update available
Updates :
1) feature added : Inital Pos you can set a inital position for slider
for example: if you want to show slider with specified position
you can set it from here
this will save you from Page >> On Show : Sider.SetPos(x);
if you do not want to use this feature leave 0(zero)
Note: this setting will only affect at run time
2) feature added : ToolTip you can show slider position with a small tooltip
Yes : tooltip will be showed
No : tooltip will not be showed
when slider horizontal tooltip will be showed top of thumb
when slider vertical tooltip will be showed left of thumb
Note: this setting will only affect at run time
-----------------------------------------------------------
rexzooly and Intrigued thanks for mirroring
but you must work much. :p
because new version available and seems i will continue
longedge
if i understand you correctly,you want to reverse positions of min and max
this feature is not avaiable in this release but i will add
thanks alot
i am updating file now new options will be added to the list little later :)
rexzooly
03-30-2008, 02:32 PM
http://jonny6.pap3rback.net/AMS/?page=reteset
All done also finaly converted the jpg to png so not where is a screen shot.
great work.
reteset
03-30-2008, 02:59 PM
http://jonny6.pap3rback.net/AMS/?page=reteset
All done also finaly converted the jpg to png so not where is a screen shot.
great work.
thanks :yes
i will update screenshot with new release in png
longedge
03-30-2008, 03:02 PM
longedge
if i understand you correctly,you want to reverse positions of min and max
this feature is not avaiable in this release but i will add
:) :yes Thanks very much. It would be nice to have a 'reverse' option. It just seemed odd to have minimum at the top and maximum at the bottom.
rexzooly
03-30-2008, 03:09 PM
thanks :yes
i will update screenshot with new release in png
that will be kool :) thanks great work reteset stop been so smart lol i feel
small lol on joking stay smart this is great feller.
RizlaUK
03-30-2008, 03:24 PM
It would be nice to have a 'reverse' option. It just seemed odd to have minimum at the top and maximum at the bottom.
a quick n crude work around
rPos=e_Pos-100
now the bottom is 0, the top is -100, now work in minus numbers
lol, like i said, quick n crude
longedge
03-30-2008, 03:41 PM
a quick n crude work around
rPos=e_Pos-100
now the bottom is 0, the top is -100, now work in minus numbers
lol, like i said, quick n crude
It's the direction of travel i.e. downwards to increase that I had in mind. I'm sure that it can be changed around with some math manipulation if a need arises. It just felt odd , perhaps it's just me?? :)
The horizontal option is OK, natural increment left to right.
longedge
03-30-2008, 04:03 PM
Cancelled post
RizlaUK
03-30-2008, 04:35 PM
it's just me??
lol, its not, it dose seem odd, but reteset will fix that, :yes
well, heres a better fix to increment the numbers properly, in case you need it right now
function ReverseSliderEPOS(nPOS)
return String.ToNumber(String.Replace(nPOS, "-", "", false));
end
-- example
Label.SetText("Label1", ReverseSliderEPOS(e_Pos-100));
longedge
03-30-2008, 04:39 PM
Got it -
pos = SliderEx.GetSliderPos("Plugin1");
vol = Math.Abs(255-pos);
Audio.SetVolume(CHANNEL_BACKGROUND, vol);
RizlaUK
03-30-2008, 04:42 PM
why is it........theres always an easyer way.....lmao
Intrigued
03-30-2008, 07:50 PM
I added the updated version to amsuser.com.
Thanks again.
reteset
04-02-2008, 10:09 AM
:) :yes Thanks very much. It would be nice to have a 'reverse' option. It just seemed odd to have minimum at the top and maximum at the bottom.
hi longedge it seems ,it is not possible
there is a constant TBS_DOWNISLEFT MSDN document says:
what we want to do but it is not working why i do not know
but you know, you can reverse positions easily
new release will come with cool features
like adjustable background color
and maybe transparent background option
thanks
longedge
04-02-2008, 10:35 AM
hi longedge it seems ,it is not possible
there is a constant TBS_DOWNISLEFT MSDN document says:
what we want to do but it is not working why i do not know
but you know, you can reverse positions easily
new release will come with cool features
like adjustable background color
and maybe transparent background option
thanks
:yes :) Thanks anyway - my workaround is fine for my purposes.
RizlaUK
04-02-2008, 10:55 AM
cooool, colored background would be a great addition, transparent even better
Thanks again reteset, you are.....The Man, ;)
rexzooly
04-02-2008, 11:25 AM
cooool, colored background would be a great addition, transparent even better
Thanks again reteset, you are.....The Man, ;)
here here i agree your a star reteset :) but don't let RizlaUK fool you hes prity
smart him self lol :D
reteset
04-04-2008, 12:29 PM
hi again new update available
first i want to say , this release is testing purpose only
please do not use it on your final projects until i say this is stable release
Updates :
1) feature added : Background Color you can adjust back ground
color of slider object
2) function added : 7 New Functions added to slider object
for:
get window handle of slider ( you can use any purpose (eg. masking) )
get and set orientation of slider at run time
get and set backcolor of slider at run time
get and set tick frequency of slider at run time
you can find simple description for each function on script editor
if you find any bug please report it
to be continued :yes
rexzooly
04-04-2008, 12:49 PM
thanks for the ping i am trying to get the site working :)
RizlaUK
04-04-2008, 01:28 PM
nice, i'll test this out then, thanks again :yes
retest this is an awesome object plug-in!
Thank You !! :)
Dermot
04-04-2008, 07:28 PM
Very very nice, but for some reason it does not show up in AMS for me. I have added it to the correct plugins folder and restarted AMS.
longedge
04-05-2008, 04:41 AM
Great plugin :yes thanks.
reteset
04-05-2008, 06:42 AM
Very very nice, but for some reason it does not show up in AMS for me. I have added it to the correct plugins folder and restarted AMS.
1) if it is not appear on objects menu, it is not a plugin problem.
2) if it is not appear on page area, it is a plugin problem, i will check it
in first case it may be a plugin problem also
but if plugin has a problem it is never appear on objects menu
a stable release will be available soon
thanks to all
RizlaUK
04-05-2008, 09:27 AM
in all my test so far all has been ok but 1 thing, i cant seem to make the background transparent, am i missing something ?
heres a 5 min sample, a little mixer app useing this slider
reteset
04-05-2008, 01:57 PM
in all my test so far all has been ok but 1 thing, i cant seem to make the background transparent, am i missing something ?
heres a 5 min sample, a little mixer app useing this slider
yes you are :yes
there is no transparent background feature yet
only background color
actually , i have made transparent back feature but
i did not added because it has lots of problems
i will add this feature ,when i solve the problems
thanks
RizlaUK
04-05-2008, 02:31 PM
yes you are
lol, that explains it then
very fine slider tho, no problems at all :yes
reteset
04-06-2008, 11:54 AM
hi new update available ver: 1.4.0.0 this is stable release you can use it
Updates:
1) events added : On MouseOver and On MouseLeave
you can make highlight colors or different border styles on mouseover object
2) functions added : 4 New Functions added to slider object
for:
get and set border style of slider at run time
get and set thumb orientation of slider at run time
note:
when slider horizontal : use Top,Bottom,Both
when slider vertical : use Left,Right,Both also you can use Bottom for Right
Bottom == Right
Top ~= Left
Left ~= Any
Both ~= Any
3) feature enabled : On Over Cursor you can set a cursor
for the slider from one of build-in cursors
4) bug Fixed : when you set back color at runtime slider gets focus
and fires On Focus event once (this fixed)
thanks
RizlaUK
04-06-2008, 12:34 PM
Super cool, some nice additions there, setting the cursor is good, i like to have a hand over anything that dose something on the GUI, easy user experiance is my main goal, that helps that along a little, Thanks reteset :yes
EDIT:
one final request ;)
is there any way to set the tooltip text, or override the text displayed
see, i have 2 vertical sliders that i have reversed (so 0 is at the bottom) but in the tooltip it shows the number as its real value eg: "-125" but i need it to display "125",
either being able to override the tooltip, or make the tooltip only display the absolute positive of a number would be great for this instance
is this possable?
Intrigued
04-06-2008, 12:44 PM
Updated amsuser.com mirrored version.
Thanks.
reteset
04-06-2008, 12:57 PM
Super cool, some nice additions there, setting the cursor is good, i like to have a hand over anything that dose something on the GUI, easy user experiance is my main goal, that helps that along a little, Thanks reteset :yes
EDIT:
one final request ;)
is there any way to set the tooltip text, or override the text displayed
see, i have 2 vertical sliders that i have reversed (so 0 is at the bottom) but in the tooltip it shows the number as its real value eg: "-125" but i need it to display "125",
either being able to override the tooltip, or make the tooltip only display the absolute positive of a number would be great for this instance
is this possable?
OK :yes
it is no problem :yes
wait for ver: 1.5.0.0
RizlaUK
04-06-2008, 12:59 PM
ah, you are a star :yes Good man
longedge
04-06-2008, 01:23 PM
is there any way to set the tooltip text, or override the text displayed
see, i have 2 vertical sliders that i have reversed (so 0 is at the bottom) but in the tooltip it shows the number as its real value eg: "-125" but i need it to display "125",
either being able to override the tooltip, or make the tooltip only display the absolute positive of a number would be great for this instance
:D I picked up on this and was thinking about tracking the slider position with a small label with text set to the position variable to emulate a tooltip - at the moment thinking is as far as I've got though. Can't be more than a few lines of code if only I can find the time and inclination :lol
longedge
04-06-2008, 02:16 PM
Rough and ready -
RizlaUK
04-06-2008, 05:43 PM
nice...
the tooltip seem to ride a bit high as you get to the top, so i did a little edit
now it sticks to the mouse y at all times
good idea, this means custom tooltips for my sliders :yes
reteset
04-07-2008, 04:05 AM
if you want to make custom tooltip with ams parts i can export
X and Y positions of thumb with a custom event or with On PosChange event
RizlaUK
04-07-2008, 09:32 AM
that would be perfect, i quite like having custom tooltips :yes
EDIT:
in On PosChange would be great, maybe event variables e_X and e_Y
reteset
04-08-2008, 01:03 PM
ok guys
this is finished.
version 1.5.0.0 Final
Updates :
1) feature removed : tooltip feature is removed
2) feature added : pos_L , pos_R , pos_T , pos_B , b_Init variables added to On PosChange event
pos_L = left position of thumb (relative to current page)
pos_R = right position of thumb (relative to current page)
pos_T = top position of thumb (relative to current page)
pos_B = bottom position of thumb (relative to current page)
b_Init = if you set a Inital pos from properties dialog when
object created plugin sets to position to this value and fires
On PosChange event without user is not touch it
if b_Init true this means plugin sets position itself
if b_Init false this means user plays with slider
(this variables added for custom tooltip applications)
3) event added : On SlideEnd this event will be fired
when user release the thumb (this event added for custom tooltip applications)
i made an example :
it demonstrades how to create custom tooltips with these features
you'll like it , make your own tooltips instead of standard it is better than standard tooltip
this is final version but this project is not finished i will continue to
develop this plugin but new update is will not be possible soon
now i am moving to WinApi
thanks to all
Dermot
04-08-2008, 01:17 PM
Very very nice. The only problem I see is that the On SliderEnd event is not fired if you use the arrow keys to adjust the slider. In your example the tooltip is not hidden when it reaches the end. Works fine with the mouse.
longedge
04-08-2008, 01:31 PM
Great :yes. The "on slide end" is very useful. Still playing - looks like a bit of math manipulation to work with bottom as 0 is still needed but that's gross nitpicking and very easy to do. Very Nice - thanks.
RizlaUK
04-08-2008, 01:39 PM
Perfect for all my needs
"b_Init" is something i did need, my tooptips were showing at app start for a split second, this will fix it
Thanks Again reteset, your hard work is very much appreciated :yes
Intrigued
04-08-2008, 06:59 PM
Posted this latest release to amsuser.com. Use the same link as before.
yosik
04-09-2008, 12:14 AM
GREAT JOB!!!!
I noticed a couple of problems though when you duplicate the slider,:
1. I made a mouseOver change of color for the background and when I mouseOver one of the duplicates, the ORIGINAL slider is the one changing color.
2. When I changed properties in the Properties Panel for all of the sliders, either only the original or, on the opposite, only the duplicated ones had their properties changed (I tested it with change of Thumb).
The first problem shows at runtime, which is ..a problem.
The second is only at design time. Runtime is OK.
Thanks again for a great plugin.
Yossi
reteset
04-09-2008, 10:54 AM
Dermot
yes you are right i will add an On KeyUp Event for solve that problem
within this week
yosik
is object name correct for each instance..?
SliderEx.SetBGColor( "Plugin1" , 0);
can you show me an example
thanks
reteset
04-12-2008, 06:44 AM
it is ok now
OnSlideEnd event removed
new ShowToolTip and HideToolTip events added
ShowToolTip event will be fired in these cases:
when user draged slider via arrowkeys,pageup,pagedown,home,end keys
and left mouse button
note : ShowToolTip and HideToolTip will not be fired when user drag slider
via mouse wheel and slider set position itself (b_Init not required)
do not use e_pos variable of ShowToolTip event other than tooltip value because this
event will not be fired if slider dragged by mouse wheel
always use On PosChange evet
HideToolTip put your code here that hides tooltip
please check example for details
Esfahan
04-12-2008, 08:03 AM
HI Dear reteset
Omg...you difficultly attracted mind me whit this idea for make a Mobile tooltip from a input object.
we in iran in So manner says: Oh Wisdom of Elf not have it!
for my bad British Language maybe no understand you that Proverb me in above...
THX
RizlaUK
04-12-2008, 08:49 AM
thanks reteset, ill try this new system out then :yes
yosik
04-12-2008, 02:49 PM
Thanks Reteset. Works well now.
:yes:yes:yes
Yossi
Intrigued
04-12-2008, 04:22 PM
updated to that latest version on amsuser.com, thanks.
reteset
04-14-2008, 11:01 AM
you are welcome :D:D:D
reteset
04-20-2008, 12:50 PM
hi a new update is available
Updates :
1) Feature added: Help File a detailed help file added
2) Bug fixed : A simple bug fixed
important note : there is a problem that can not be fixed
when you call
SliderEx.SetBGColor() , SliderEx.SetBorderStyle() ,SliderEx.SetThumbOrientation();
object recreates itself and object's window handle changed
keep in mind this if you use SliderEx.GetWindowHandle() function
for example:
hWnd = SliderEx.GetWindowHandle("mySlider");
Window.SetMask ( hWnd,"MaskFile.bmp",true,0 );
after you call this
SliderEx.SetBGColor("mySlider",0);
object will be lost its masked form.
for this problem you can use
SliderEx.SetBGColor("mySlider",0);
hWnd = SliderEx.GetWindowHandle("mySlider");
Window.SetMask ( hWnd,"MaskFile.bmp",true,0 );
thanks
yosik
04-20-2008, 02:40 PM
Thanks for the update.
Yossi
Esfahan
07-19-2008, 05:30 AM
Thanks reteset for this useful plygin:yes
Have good times always :)
reteset
08-17-2008, 02:38 PM
i will update this plugin soon,
i will add some function which should be added
i will try to fix window handle problem ,if i would not i will remove
SliderEx.GetWindowHandle();
i am already thinking this was a unnecessary action
any suggestions except transparent background ..?
it is possible but does not work on a AMS page properly
and olso if you think skin support i am working on a separated slider
plugin with skin support but this plugin will has limited features
LiKe Below:
no background color option (if you want back color option SliderEx is your friend)
no border style option
no tooltip option
no resize option (object size should be same as background image (both runtime-designtime))
some events will not be available
maybe it can be dragged by only mouse (i am working on the add more options)
and it is not finished yet :cool
actually creating a skinned slider takes 10 minutes (for myself)
but making it dynamically (user defined) may take 10 days - 10 weeks :eek:
thank you for your interest
@JDog37 if you want to receive MPs from forum members like me
you should enable receivig PMs from members
From : User CP >> Edit Options >> Messaging & Notification >> Enable Private Messaging
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.