Re: text entry dialog

Aaron Howard <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Organization Infinity Thrice, LLC
Message-ID <[email protected]>
On Thursday 11 January 2007 11:29, Andy Ross wrote:
> Hello all,
>
> is there a way to make the text entry dialog have multiple entries? From
> what i can tell wx.TE_MULTILINE makes a larger entry box but not a way for
> multiple entry.
>

It works for me.

I have a line of code like this:

result = dialog.textEntryDialog(self, "Enter or update the notes:", "Notes 
Editor", "", wx.TE_MULTILINE)

It allows for multiple lines of notes entered.  That doesn't mean you can 
enter multiple lines and get it to return an array of entries like 
["Line1","Line2","Line3"].  Of course, you could .split("\n") the results 
yourself.

-Aaron

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBFpm3LuAPutPYr0b4RAjBRAKCfKPC+DrkoeRXLWsJsdWo+IvyMBwCePWrf
P1pu6Y3IrSl3EsIrJUw0/4g=
=NvY7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.