2011-08-25, 11:35
Hello,
I'm trying to create a list that scrolls a group of buttons but i want to control that list from python so i can't use the Group List Control because python doesn't know how to add whole controls - yet! - it only knows how to add ListItems so I'm stuck with a normal List Container, so i thought i could emulate the behavior of a button in a ListItem but I've faced some challenges one of them is the Focus, UnFocus image of the button; a ListItem already has an Icon defined - which i got working (UnFocus Image) - but can i change that icon in the <focusedlayout /> to the Focus image ? or save the Focus image path in a property tag and switch it in the focuslayout !
I don't know if this possible and how to go about it, or maybe I'm using the wrong approach, maybe someone could point me to the right direction.
I would really like to solve this issue,
Any help will be appreciated.
Thanks.
I'm trying to create a list that scrolls a group of buttons but i want to control that list from python so i can't use the Group List Control because python doesn't know how to add whole controls - yet! - it only knows how to add ListItems so I'm stuck with a normal List Container, so i thought i could emulate the behavior of a button in a ListItem but I've faced some challenges one of them is the Focus, UnFocus image of the button; a ListItem already has an Icon defined - which i got working (UnFocus Image) - but can i change that icon in the <focusedlayout /> to the Focus image ? or save the Focus image path in a property tag and switch it in the focuslayout !
I don't know if this possible and how to go about it, or maybe I'm using the wrong approach, maybe someone could point me to the right direction.
I would really like to solve this issue,
Any help will be appreciated.
Thanks.