Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Entry Widget errors/clicking

Status
Not open for further replies.

mwhamilton

Technical User
Jan 28, 2002
11
US
I have written a TCL/TK front end for a script, but I am having problems with the entry widgets. When I click too quickly in an entry, it calls my subroutine and it outputs errors to my shell window. Why does it seem like it's trying to bind to a click in the window. I tried binding a mouse click to do nothing, but it still calls the subroutine. Any help? Thanks.
 
Have you tried binding the enter key? I ask because I made this mistake until I got it through my head that "Return" was the keystroke I wanted and "Enter" was the mouse arrow entering the widget. Bob Rashkin
rrashkin@csc.com
 
Yes, I bound it to the Return key. The program is supposed to call the subroutine on Return, or on a special button. I kept getting background errors. When I click in the text box slowly, it works fine. If i click to fast, then I get errors. Thanks.
 
I can't reproduce the behavior. Can you include a code sample that exhibits the problem? Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top