By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,547 Members | 1,425 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,547 IT Pros & Developers. It's quick & easy.

problem with wxtextctrl

P: n/a
hi , i have a problem with a wxtextctrl with multiline option.
i want to write a file , line after line , in my wxtextctrl .
But my file is too longer , and the wxtextctrl can't write the end of
the file , i miss 100 lines of my file ...
What can i do to have all data file ?

what library can i use to replace wxtextctrl ?

thanks
sylvain
----
Bonjour , j'ai un problème avec un wxtextctrl , j'ai un fichier qui
dooit être trop long pour la mémoire d'un wxtextctrl donc les 100
dernières lignes du fichier n'apparaissent pas .
Comment puis je faire ?
dois je changer de methode ?

merci
sylvain
Jul 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Have you tried: wxtextctrl::SetMaxLength()
with parameter 0?

he*******@yahoo.com (hellprout) wrote in message news:<5b**************************@posting.google. com>...
hi , i have a problem with a wxtextctrl with multiline option.
i want to write a file , line after line , in my wxtextctrl .
But my file is too longer , and the wxtextctrl can't write the end of
the file , i miss 100 lines of my file ...
What can i do to have all data file ?

what library can i use to replace wxtextctrl ?

thanks
sylvain
----
Bonjour , j'ai un problème avec un wxtextctrl , j'ai un fichier qui
dooit être trop long pour la mémoire d'un wxtextctrl donc les 100
dernières lignes du fichier n'apparaissent pas .
Comment puis je faire ?
dois je changer de methode ?

merci
sylvain

Jul 18 '05 #2

P: n/a
hellprout wrote:
hi , i have a problem with a wxtextctrl with multiline option.
i want to write a file , line after line , in my wxtextctrl .
But my file is too longer , and the wxtextctrl can't write the end of
the file , i miss 100 lines of my file ...
What can i do to have all data file ?


If you are on Windows then add the wxTE_RICH style when constructing the
wxTextCtrl. This will switch to a native control that can handle more
than 64k of text.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Jul 18 '05 #3

P: n/a
Thanks the option wxTE_RICH is the solution

thanks a lot

and let's go python

sylvain

Robin Dunn <ro***@alldunn.NOSPAM.com> wrote in message news:<sT***************@fe07.usenetserver.com>...
hellprout wrote:
hi , i have a problem with a wxtextctrl with multiline option.
i want to write a file , line after line , in my wxtextctrl .
But my file is too longer , and the wxtextctrl can't write the end of
the file , i miss 100 lines of my file ...
What can i do to have all data file ?


If you are on Windows then add the wxTE_RICH style when constructing the
wxTextCtrl. This will switch to a native control that can handle more
than 64k of text.

Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.