[wxPython-users] ScrolledMessageDialog error

António Barbosa (GN/dpi) ab at jn.pt
Fri Mar 2 13:59:55 PST 2007


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 t=
he
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3213 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070=
302/0f498006/attachment.bin


More information about the wxpython-users mailing list