"pathname delete..." deletes 2 characters instead of 1
From: aisha (impm01_at_yahoo.com)
Date: 04/29/04
- Next message: Helmut Giese: "Re: BWidget font selector question"
- Previous message: Daniel Smart: "Re: Sensitivity training? [Was: Re: TIP #189: Tcl Modules"
- Next in thread: Wojciech Kocjan: "Re: "pathname delete..." deletes 2 characters instead of 1"
- Reply: Wojciech Kocjan: "Re: "pathname delete..." deletes 2 characters instead of 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Apr 2004 11:43:58 -0700
Hi,
I have following 2 bindings for <Delete> key for the Tktable widget
attached to either single or double mouse clicks in a cell:
1. if there is a single click in a new cell, delete the whole cell
data.
2. if there is a single click in an already active cell, or if there
is a double click in a new cell, delete one character on <Delete> key
press.
The first works fine.
But with the second, <Delete> key deletes 2 characters after the mouse
cursor instead of 1 character.
Why?
Thanks,
Aisha.
- Next message: Helmut Giese: "Re: BWidget font selector question"
- Previous message: Daniel Smart: "Re: Sensitivity training? [Was: Re: TIP #189: Tcl Modules"
- Next in thread: Wojciech Kocjan: "Re: "pathname delete..." deletes 2 characters instead of 1"
- Reply: Wojciech Kocjan: "Re: "pathname delete..." deletes 2 characters instead of 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|