Hi!
Is it possible to change the font in the ScrolledMessageDialog? I tried with .SetFont but nothing changed…
Thanks & Regards
Stefanie
Hi!
Is it possible to change the font in the ScrolledMessageDialog? I tried with .SetFont but nothing changed…
Thanks & Regards
Stefanie
Hi Stefanie,
Is it possible to change the font in the ScrolledMessageDialog? I tried with
.SetFont but nothing changed...
ScrolledMessageDialog is a composite control: it features a dialog
containing a wx.TextCtrl and a wx.Button. So, to change the
wx.TextCtrl font, you might do something like this (dlg is your
ScrolledMessageDialog):
children = dlg.GetChildren()
textCtrl = children[0]
textCtrl.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD, False))
HTH.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
On 8/4/08, Stefanie Lück wrote: