09-05-2012 01:59 AM - edited 09-05-2012 02:05 AM
Hi,
I am currently having two issues:
1. Is it even possible to create a Panel that contains a ListPanel?
2. What if I want to create a ListPanel that I configure to show various things using various controls from configuration files. Is this even possible?
3. Why is setting sections required, even if you choose false for showsections?
4. Does the item iteration always have to use a List, or can it also be something like System.Xml.XmlNodeList?
I think I can do it in theory, but in practice I'm running into a big brick wall. Perhaps partly because of 1?
on 09-05-2012 03:14 AM
So instead of sleeping I continued working on this and will seriously regret tomorrow. Anyway, here's answering the issues myself:
1. Yes, no problem. Just don't forget to do an AddChildLast or First ... *doh*
2. Yes, no problem.
3. The section definition seems critical. In order to handle dynamic numbers, I reset the section definition at runtime to one section with the length of my List. I have showsection = false.
4. I think it has to be a list. So what I did is create a list of XmlNodes instead, which seems to work just fine.
So I end the day with a win and a loss - I have the foundations for my dynamic listpanel, at the cost of some serious sleep loss. ![]()
on 09-05-2012 09:26 PM
on 10-05-2012 02:28 PM
PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.
フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと
PSM DevPortalを一度ログアウトし、再度ログインしてください。


Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]
%%http://community.eu.playstation.com/t5/Announcements/Beta-Trial-Information/td-p/11386362
best_shooter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_driver.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_performer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_footballer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_fighter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_creator.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_action_player.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
dev2.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Producer-and-Developer-Ranks/td-p/18407352
trophy.gif%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/The-Community-Awards-FAQ/td-p/18407096
PSlogoSM.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Online-Support-Coordinator-rank/td-p/18414870