List components
"Azam, Naweed" <[email protected]> Wed, 18 Sep 2013 03:42:46 +0000
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
--===============1475834054679470922== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_614EF91C57C80D48ABF1CE39C0ECFD6C12E53AFFWesUM02cbccorp_" --_000_614EF91C57C80D48ABF1CE39C0ECFD6C12E53AFFWesUM02cbccorp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have a question about list components. When I try to specify text to app= ear 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 appe= ar 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 =3D str(clips) This command lists everything with a single character on each line in the L= ist box: self.components.List1.items =3D str(clips) I thought this command would work, but the List box appears empty: self.components.List1.stringSelection =3D str(clips) Note that "clips" is a list of movie titles. Thanks for any help and guidance. Regards, Naweed. --_000_614EF91C57C80D48ABF1CE39C0ECFD6C12E53AFFWesUM02cbccorp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html dir=3D"ltr"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" id=3D"owaParaStyle"></style> </head> <body fpstyle=3D"1" ocsi=3D"0"> <div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: = 10pt;">Hello, <div><br> </div> <div>I have a question about list components. When I try to specify t= ext to appear in a List box, each character appears on a line alone and not= hing shows up in the stringSelection drop down box.</div> <div><br> </div> <div>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?</d= iv> <div><br> </div> <div>This command lists everything in a static text box:</div> <div>self.components.ClipList.text =3D str(clips)</div> <div><br> </div> <div>This command lists everything with a single character on each line in = the List box:</div> <div>self.components.List1.items =3D str(clips)</div> <div><br> </div> <div>I thought this command would work, but the List box appears empty:</di= v> <div>self.components.List1.stringSelection =3D str(clips)</div> <div><br> </div> <div>Note that "clips" is a list of movie titles.</div> <div><br> </div> <div>Thanks for any help and guidance.</div> <div><br> </div> <div>Regards,</div> <div>Naweed.</div> <div><br> </div> </div> </body> </html> --_000_614EF91C57C80D48ABF1CE39C0ECFD6C12E53AFFWesUM02cbccorp_-- --===============1475834054679470922== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk --===============1475834054679470922== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pythoncard-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pythoncard-users --===============1475834054679470922==--