I am trying to make a text box that will accept a password from user.The password should be masked while typing.
def MyFunc2(self,event): box2=wx.TextEntryDialog(None,"Enter Password","PASSWORD","Waiting",style=wx.TE_PASSWORD) if box2.ShowModal()==wx.ID_OK: global pwd1 pwd1=box2.GetValue()
The code is a piece of a program . The above code when run , shows the text box , and i can type into it too (the password typed is shown in dots now), BUT , the OK and CANCEL boxes have vanished.So after typing , i cannot finalize value.
I want to know if TextEntryDialog supports this style.
I am not using 'textctrl' as i will have to create a seperate frame , add buttons and add functionality to that again which is again tedious. TextEntryDialogs works perfect , but the only problem is , password is visible while typing.
So anyone, any ideas.?
Edited 5 Years Ago by arindam31: n/a