Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins


Reply
 
Share Thread Tools Display Modes
Old 06-27-2009, 02:21 AM   #1
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
frm.CL. question

using sdk i can use:
Code:
RRSDK.Execute ("CLSETIMG;" & ArtNum & ";" & App.Path & "\Cache\" & ArtNum & ".bmp")

but i would like to know the syntax using the frm object
Code:
frm.CL.?? ArtNum + Chr(10) + App.Path & "\Cache\" & ArtNum & ".bmp"

EL CAMINO is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-28-2009, 06:52 PM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
This should work:

frm.CL.SetImg ArtNum, App.Path & "\Cache\" & ArtNum & ".bmp"
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-28-2009, 07:32 PM   #3
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
thanks a lot, i was so close...
EL CAMINO is offline   Reply With Quote
Old 07-01-2009, 12:20 AM   #4
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
if possible can you share some more knowledge? is there a way to tell the properties of a CL, i.e. if is using, Text, Icon, Grid or iList mode. in one of my plugins by default i got 'jpg files, if i use iList mode i need to convert those jpg's to bmp(NP). but if the current screen is not using iList mode is useless to convert the jpgs. so i need to know when a screen is using iList mode or not. similar to frm,ShowDL tells if a CL is present in the current screen.
EL CAMINO is offline   Reply With Quote
Old 07-01-2009, 09:05 AM   #5
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
it'd be nice if we were able to read all properties from all lists internally. Right now i'm dependent on reading .skin files for the information.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 07-01-2009, 10:21 AM   #6
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
This is the information you can use in Lists (PL, CL, DL, PB) from extension plugins. You can pretty much manage the whole thing without using skin commands, but you should be aware that changing some properties on the fly could cause adverse effects or may not have any effect -- they should be set with the usual skin definitions. However, it could be very useful to be able to read those properties and act accordingly. To check if the list is an iList or standard list, you can check if DisplayMode is 3, if so it's an iList, if not, it's a standard list. Using this stuff could particularly be faster, but remember that nothing used directly will be logged in RR's log so you may have to make your own logs if needed.

Code:
'Files/Directory Control Public FileTypes As String 'File Types to ACCEPT Public ShowDirs As Boolean 'Show Directories ? Public ShowIcons As Boolean 'Show Icons ? Public Fname As String 'Name of Font to Use Public FSize As String 'Font Size To use Public SelRGB As Long 'Selection ForeColor Public SelBackRGB As Long 'Selection BackColor Public DirRGB As Long 'Directory ForeColor Public FileRGB As Long 'Files ForeColor Public DirCount As Long 'Directories Count Public Charset As Integer 'Charset for fonts Public Transparency As Boolean 'set this to true if you want to use the SEL BAR to be transparent (no color) Public Source As Integer 'File=0, ML=1, Ipod=2 Public UpText As String 'Text before entering LAST goin 'Display Options Public Alignment As Integer 'Alignemt of Labels Public DisplayMode As Integer 'Display Mode (0=Normal, 1=ThumbList, 2=Album Icons, 3=iList) Public IconHeight As Long 'Icon Height Public IconWidth As Long 'Icon Width Public ShowExt As Integer 'Show Extensions ? (-1=Default, 0=No, 1=Yes) 'iList info Public SelBMP As String 'Selection BMP filename Public UnSelBMP As String 'Unselection BMP filename Public EndBMP As String 'End Marker BMP filename Public BackRGB As Long 'BackSurface Fill Color Public LineColor As Long 'Separator Line Color (For TextMode) Public UseLimit As Integer 'Limit Scroll ? (0=Free Roll, 1=Limited, 2=Sticky) Public MaxSpeed As Long 'Maximum Speed Public DragForce As Double 'Drag Force 'Functions/Subs --------------- 'Returns Max value/number of items Public Property Get Max() As Long 'Returns Current value/selected item Public Property Get Value() As Long 'Sets the current value (selected item) Public Property Let Value(ByVal Value As Long) 'Returns the number of lines viewable at once in the list Public Property Get Lines() As Long 'Returns text of current selected item of the list Public Property Get Text() As String 'Add item Public Sub AddItem(item As String, Optional itemType As String = "LST") 'Remove Item Public Sub RemoveItem(item As Long) 'Clear Items (Max defines the new max of the list -- reduces the list) Public Sub Clear(Optional Max As Long = -1) 'Update list display and center current selection Public Sub CenterList() 'Set current path -- if showing directories Public Property Let Path(Val As String) 'Get current path -- if showing directories Public Property Get Path() As String 'Get Item Public Function GetItem(ByVal N As Long, Optional StripNumber As Boolean = False) As String 'Get description of item Public Function GetDesc(ByVal N As Long) As String 'Check if item has description Public Function HasDesc(ByVal N As Long) As Boolean 'Get the type of item Public Function GetType(ByVal N As Long) As String 'Set Item Public Sub SetItem(ByVal N As Long, ByVal item As String, Optional ByVal Typ As String = "LST") 'Returns the index of first item displayed Public Property Get TopLine() As Long 'Custom Images support (Set) Public Sub SetImg(N As Long, ImgPath As String) 'Custom Images support (Get) Public Function GetIMG(N As Long) As String 'Go in folder -- if showing directories, returns true if successful Public Function GoIn() As Boolean 'Go out of current folder -- if showing directories, returns true if successful Public Function GoOut() As Boolean 'Return current list (Same as available in Flash) Public Function GetList() As String 'Save Current List Public Sub SaveList(Fname As String) 'Load Previously Saved List Public Sub LoadList(Fname As String, Optional Plain As Boolean = False)

__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 07-01-2009, 10:46 AM   #7
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
very good info, thanks a lot again.
EL CAMINO is offline   Reply With Quote
Old 07-01-2009, 10:48 AM   #8
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
NICE! Thats exactly what i needed. Thanks G
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-01-2009, 11:21 AM   #9
The Curator
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,565
Blue ZX3 will become famous soon enoughBlue ZX3 will become famous soon enough
The more i work in my PI's, the more I starting to deal straight with the form instead of relying on RR cmds that do the same expect take the extra time to execute on something that i could directly do...
__________________
RideRunner...The #1 FE, PERIOD.

RR Media >>HERE <<

RRExtended Plugin
Updated RR Config (Current Ver 1.0.2.0)
Old RR Versions
Complete CFX PSD Set
RRSkinEditor v.76c
DFX Btn Editor
Blue ZX3 is offline   Reply With Quote
Old 07-01-2009, 11:25 AM   #10
The Curator
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,565
Blue ZX3 will become famous soon enoughBlue ZX3 will become famous soon enough
I think that would be nice to actually include the above in a txt file when the Extention PI option is installed durring a RR install. I usually have to open the source when i cant remember how to interact with a contol on the form, when a quick txt file like that would be much better and quicker to use.
__________________
RideRunner...The #1 FE, PERIOD.

RR Media >>HERE <<

RRExtended Plugin
Updated RR Config (Current Ver 1.0.2.0)
Old RR Versions
Complete CFX PSD Set
RRSkinEditor v.76c
DFX Btn Editor
Blue ZX3 is offline   Reply With Quote
Old 07-01-2009, 12:45 PM   #11
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
Quote: Originally Posted by Blue ZX3 View Post
I think that would be nice to actually include the above in a txt file when the Extention PI option is installed durring a RR install. I usually have to open the source when i cant remember how to interact with a contol on the form, when a quick txt file like that would be much better and quicker to use.

That is a good idea.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 07-01-2009, 01:36 PM   #12
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
i agree...
EL CAMINO is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
heavy-duty OBD standards support question Michael2006 Engine Management, OBD-II, Engine Diagnostics, etc. 0 01-07-2007 05:13 AM
Any in-dash monitor with built in FM Radio QUESTION. ??? 74Camaro LCD/Display 2 05-02-2006 06:15 PM
Forum Etiquette Enforcer Newbie 5 01-09-2006 06:58 PM
Paint And Polish Question gboy Fabrication 8 08-13-2005 08:22 PM
FM Card Question.... Superbike1k Car Audio 1 05-16-2005 10:03 AM



All times are GMT -5. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics