Nov-26-2017, 06:15 PM
I have an issue with StaticText, and I do not know how to make it accept only the following data = '0123456789.' . Of course, when you type any letter, the letter is automatically deleted. Can you help me please
#add frame and other panel = wx.Panel(self) lci = wx.StaticText(panel, label='Ci', pos=wx.Point(280, 128),size=wx.Size(19, 23), style=0) lci.SetFont(wx.Font(14, wx.SWISS, wx.NORMAL, wx.BOLD,False, 'Tekton Pro Ext')) inslci = wx.TextCtrl(panel, pos=wx.Point(312, 128), size=wx.Size(120, 24),style=0, value='...') inslci.SetForegroundColour(wx.Colour(64, 128, 128))how would it be possible to add a wx.adv.RichToolTip. I still do not have it very clear, could you explain?