in reply to Tk marks and placing the cursor

you need to have separate text widgets for the username and password...otherwise you're dealing with one large text widget which, by default, let's people move around it freely (typing over stuff as they go), thus you lose control of their actions. in this way, you have no hope of extracting username/password. nice colors :)

Replies are listed 'Best First'.
Re^2: Tk marks and placing the cursor
by Scarborough (Hermit) on Oct 04, 2004 at 13:37 UTC
    Thanks I'd sort of come to this conculsion myself and the logon process will need to be handled in a different way. However if you have ever seen a main frame session he are allowed to type anywhere in the screen and the command is picked up, that old stuffs quite cleaver really.
      afaik: those mainframe type screens do have different fields embedded, only you can move with the cursor keys inside each field and between the fields. if it's one text widget, you can type over or insert text right over your username/password labels or delete them entirely. so if a user makes the mistake of typing over the labels username/password, how are they supposed to know where the input area for those is?
        Yes your completely right and dispite my natural enthusiasum I am beginning to see that I am no match, in the time I have, to take on 30+ years of hardware software intergration by massive corporations. I'll probably return to an entry box solution, but its been fun trying.