Dear Friends,
The problem is that I have previously created a StaticBitmap behind
the TextCtrl. It is strange that if the TextCtrl is created before the
StaticBitmap, the ToolTip shows up ok.
I tested it inside the wx.Python DEMO, changing the StaticBitmap example,
by creating the TextCtrl before and after the StaticBitmap. Please notice
that the tooltip does shows up either way if the mouse reach the TextCtrl
area, but not the StaticBitmap
t = wx.TextCtrl(self, -1, "This is a test", (80,50))
t.SetToolTipString("test.................")
StaticBitmap(self, -1, bmp, (80, 50), (bmp.GetWidth(),
bmp.GetHeight()))
Hi Luis,
My TextCtrls ToolTips are not working on my program... I did
a little test on PyCrust and it worked ok, but I can?t find
why it doesn?t work on my program.
Perhaps it is a common mistake? I bind mouse events on the
program, but I use event.Skip().
Can you reproduce the problem in a small runnable sample? Without that, is
a bit complicated to imagine where the problem might be.
Andrea.
"O emitente desta mensagem é responsável por seu conteúdo e endereçamento.
Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida
autorização, a divulgação, a reprodução, a distribuição ou qualquer outra
ação em desconformidade com as normas internas do Sistema Petrobras são
proibidas e passíveis de sanção disciplinar, cível 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ón, su divulgación, reproducción, distribución o
cualquier otra acción no conforme a las normas internas del Sistema
Petrobras están prohibidas y serán pasibles de sanción disciplinaria, civil
y penal."