Are you not letting to take care of that? That is whole point of using StringVar. Of course you can slice out the char at insert point. You have read the code of vegaseat and me from code snippets and sticky messages, haven't you? See the advice linked in my signature.
I am a hobbyist programmer.
I have no formal training, nor even a book in Python's case. So, I have not read about
the StringVar() and have no real knowledge of it. If someone could post a link to some
StringVar() documentation, that would be immensely helpful! I've searched but haven't
found anything that describes how to use it.
@tonyjv, I don't mean to be rude to you by posting this, but I do look around before
I post. I just don't know about StringVar() and I haven't found anything on it.
I follow the advice on your link post before I ask a question (except for the code
snippets part most of which are not in tkinter, which is what I use).
tkinter is written in another language tcl and StringVar is living in the other side. Generally you assign it value or get value from it as whole. Tkinter (tcl interpreter Tk) keeps the variable up to date with the Entry contents and you do not need to touch it. i will experiment litle more myself, but a log of your unsuccesful efforts would help.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...