Huh?
Where did you get that version?
Talking with BlueZX3, he gave me the command to set the slider variable directly, bypassing the broken Extension slider code completely
CMD = "SETVAR;rrgas;" & CStr(rrgas)
If you are setting a ReturnCode = 2 in your case staments, all is good, but do not set the ReturnCode = 2 in the section where you are setting the above command. Blue says.... welll..... ummm I am sure he can explain it better, please read below:
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart
My Fiero Build Thread
Reserved...
First off as seeing that your a noob to ext plugins, I'm not sure how exactly you doing the trying to update the progress slider.
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
All sounds very messy.
However I'll wait with baited breath.
*edit.
By having a variable called pslider which is updated at various times during the prices update procedure.
This value is then passed back to RR when requested in the
(hmmm let me see, where would I do this?. . . . . . . . . . . . Oh yeah)
ReturnSlider section of the extension.cls
Actually the slider section seems to be whats not working. By just updating the pslider variable above, right where you are updating it will work perfectly. Nothing is then needed in the extension return slider or set slider section. It's not really messy at all, you are just setting the RR interface variable directly from the pslider variable in the extension.
I put a single line in my extension, and the slider now works in any version of RR.
so right where you are:
"having a variable called pslider which is updated at various times during the prices update procedure."
Just add this line in that section, below where you are updating the pslider var:
CMD = "SETVAR;rrgas;" & CStr(pslider)
That will set the rrgas variable in RR with your extension var of pslider.
It is a work around, yes, but not really a mess one at all, just a different way of doing it. Actually it is just more of a direct way of doing it by setting the variable directly, instead of relying on the need for the other slider sections in the extension. Right now, who knows how long it will be till the slider gets corrected in the official source, and that would still not let people use the 11/07, 02/08, Mitch's build, or the 05/08 versions ect...
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart
My Fiero Build Thread
Yeah, I got that, infact I am going to run with both options but with different slider names.
And yes it is messy.
It adds extra code to my program
it adds extra processes to the commnad queue of RR
and it means bypassing the way that the extension plugin was (is supposed) designed to work. (I mean we could bypass all the commands of the extension plugin interface by doing other ways and then what is the point of the extension plugin)
Can't see what adding CMD = "SETVAR;rrgas;" & CStr(pslider) to my code will do.
adding SDK.Execute (CMD) afterwards might help though.
Still messy![]()
That will work to directly execute it, but if you do not use the ReturnCode = 2, RR will just continue on, and when reaching the end of the plugin, will carry out the command, as the ReturnCode tells RR that ahhhh we are done here, no need to fire anything else.
The plugin I was working on, was for home automation purposesI threw together a small video for the Home Automation guys to show just how well RR can work as a front end for home automation. You can see the slider in action controlling a lamp in the video.
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart
My Fiero Build Thread
Hang on, where are you saying to stick this code?
because just sticking CMD = "SETVAR;rrgas;" & CStr(pslider) where the pslider code gets changed will do nothing.
Sticking it in the slider part of the plugin code, will also do nothing.![]()
As such... you are the "Confusion Master"![]()
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
Bookmarks