Azam, Naweed
2013-09-18 03:42:46 UTC
Hello,
I have a question about list components. When I try to specify text to appear in a List box, each character appears on a line alone and nothing shows up in the stringSelection drop down box.
How do I get the full text of each item (not individual characters) to appear in the List box as well as in the stringSelection drop down box?
This command lists everything in a static text box:
self.components.ClipList.text = str(clips)
This command lists everything with a single character on each line in the List box:
self.components.List1.items = str(clips)
I thought this command would work, but the List box appears empty:
self.components.List1.stringSelection = str(clips)
Note that "clips" is a list of movie titles.
Thanks for any help and guidance.
Regards,
Naweed.
I have a question about list components. When I try to specify text to appear in a List box, each character appears on a line alone and nothing shows up in the stringSelection drop down box.
How do I get the full text of each item (not individual characters) to appear in the List box as well as in the stringSelection drop down box?
This command lists everything in a static text box:
self.components.ClipList.text = str(clips)
This command lists everything with a single character on each line in the List box:
self.components.List1.items = str(clips)
I thought this command would work, but the List box appears empty:
self.components.List1.stringSelection = str(clips)
Note that "clips" is a list of movie titles.
Thanks for any help and guidance.
Regards,
Naweed.