[wxPython-users] ScrolledMessageDialog error

luisgustavo at petrobras.com.br luisgustavo at petrobras.com.br
Sat Mar 3 07:05:17 PST 2007


It worked this way.
Thanks Antonio.
Cheers,
Luis


                                                                           =

             Ant=F3nio Barbosa                                             =
  =

             (GN/dpi) <ab at jn.pt>                                           =

                                                                      Para =

             02.03.2007 18:59             <wxPython-users at lists.wxwidgets. =

                                          org>                             =

                                                                        cc =

              Favor responder a                                            =

             wxPython-users at lists                                  Assunto =

                .wxwidgets.org            RE: [wxPython-users]             =

                                          ScrolledMessageDialog error      =

                                                                           =

                                                                           =

                                                                           =

                                                                           =

                                                                           =

                                                                           =






Hi Robin+Gustavo:

Robin's tip didn't worked here (wx 2.8.0.1).
How about this?
             dlg =3D ...
             tc =3D dlg.GetChildren()[0]
             lines=3Dtc.GetNumberOfLines()
             tc.ScrollLines(lines)
AB

-----Mensagem original-----
De: Robin Dunn [mailto:robin at alldunn.com]
Enviada: sex 02-03-2007 20:42
Para: wxPython-users at lists.wxwidgets.org
Assunto: Re: [wxPython-users] ScrolledMessageDialog error

luisgustavo at petrobras.com.br wrote:
> Antonio,
>
> Thanks and sorry for my newbieness in wxPython... I believe I will have
to
> give a thorough review in code after that!
> I solved the dlg problem with Destroy and a limit in the string size.
> Do you know if there is a way to show the dialog scrolled to the end of
the
> text on Windows?

Something like this will probably work:

             dlg =3D ...
             tc =3D dlg.GetChildren()[0]
             tc.SetInsertionPointEnd()
             dlg.ShowModal()


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


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org


(See attached file: winmail.dat)
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org




"O emitente desta mensagem =E9 respons=E1vel por seu conte=FAdo e endere=E7=
amento.
Cabe ao destinat=E1rio cuidar quanto ao tratamento adequado. Sem a devida
autoriza=E7=E3o, a divulga=E7=E3o, a reprodu=E7=E3o, a distribui=E7=E3o ou =
qualquer outra
a=E7=E3o em desconformidade com as normas internas do Sistema Petrobras s=
=E3o
proibidas e pass=EDveis de san=E7=E3o disciplinar, c=EDvel e criminal."

"The sender of this message is responsible for its content and addressing.
The receiver shall take proper care of it. Without due authorization, the
publication, reproduction, distribution or the performance of  any other
action not conforming to Petrobras System internal policies and procedures
is forbidden and liable to disciplinary, civil or criminal  sanctions."

" El emisor de este mensaje es responsable por su contenido y
direccionamiento. Cabe al destinatario darle el tratamiento adecuado. Sin
la debida autorizaci=F3n, su divulgaci=F3n, reproducci=F3n, distribuci=F3n o
cualquier otra acci=F3n no conforme a las normas internas del Sistema
Petrobras est=E1n prohibidas y ser=E1n pasibles de sanci=F3n disciplinaria,=
 civil
y penal."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =3D?ISO-8859-1?Q?winmail=3D2Edat?=3D
Type: application/octet-stream
Size: 3213 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070=
303/b11cac62/ISO-8859-1Qwinmail2Edat.obj


More information about the wxpython-users mailing list