| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Feb 2007 Location: cape town Age: 28
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Hi I am very new to the hole C# xml thing but i think i am kind of figuring things out to do what i want to do. I want to "browse" through the cover images of my lp's and also have a info button to disply text about the album. I have created a directory with a bunch of artist-album.jpg and artist-album.txt files. So i am writing a plugin to scroll through these. The images are simple. I create a Image control with the texture called "#Album_Cover" and in c# I scroll through the list of files and GUIPropertyManager.SetProperty("#Album_Cover", jpgfiles[a].FullName) This works great. Now for the text. I experimented on a pc using 0.2.3.0 , and i can load the text easily with another Control in xml <label>#Album_text</label> And in code: GUIPropertyManager.SetProperty("#Album_text", MyTxtFile.ReadToEnd()); this works like a charm. But as SOON as i copy my dll file and xml files to 1.0.0.0 RC2 , NO text. Images works fine , BUT text don't work? Sometimes i get the first line of a text file but most text files show nothing. Are there some rules that changed with 1.0.0.0 rc2 ? something i have to take into account. Thanks a lot for your help. Please don't flame a n00b. Tang
__________________ MY personalised DIY home sound in the making: linky Next step is subwoofer amp and all the surround speakers |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Feb 2007 Location: cape town Age: 28
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Thanks for the reply! it seems like it is something like that , I will try and go through string and convert line breaks into newline or something before I try and display it and see if it works. Is there anybody that can verify if there was a change?
__________________ MY personalised DIY home sound in the making: linky Next step is subwoofer amp and all the surround speakers |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Feb 2007 Location: cape town Age: 28
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Found my solution I didn't know about : textboxscrollup this works great.
__________________ MY personalised DIY home sound in the making: linky Next step is subwoofer amp and all the surround speakers |
| | |
![]() |
| Bookmarks |
| Tags |
| differences, label, rc2, text |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GUI Differences My Videos vs. My TV-Series | hawihoney | Improvement Suggestions | 2 | 2008-01-27 13:28 |
| Differences on share monitoring? | hawihoney | Listen Music | 2 | 2007-03-12 14:24 |
| MP 0.2.2 & 0.2.2SVN differences | moiristo | Plugins | 5 | 2007-02-08 01:02 |
| Differences in MCE remotes? | Grayda | General | 2 | 2007-01-18 21:43 |
| What are the differences between 0.2.0.0 and 0.1.3.0 ?? | ToP | Codecs, External Players | 3 | 2006-04-24 15:55 |