"pathname delete..." deletes 2 characters instead of 1

From: aisha (impm01_at_yahoo.com)
Date: 04/29/04


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.



Relevant Pages

  • Re: Rotated Text Help Needed
    ... cell heights as you said happened on your XP. ... > characters such that the top left corner of the character cell sits at the ... > character cell as well as the character glyph itself. ... > Private Const LF_FACESIZE = 32 ...
    (comp.lang.basic.visual.misc)
  • Re: Interesting Observation
    ... it actually gave me the first character of the next table cell! ... the range to cover only the text in a cell without the marker. ... the end of cell marker consists of two characters, ... Greg Maxey/Word MVP ...
    (microsoft.public.word.vba.general)
  • Re: Formatting index entries
    ... replace each space with a tab character ... Copy the whole cell ... use Edit>Replace to replace every tab with a space. ... you want to rip all the Index tags out of the main document. ...
    (microsoft.public.mac.office.word)
  • Re: Word mail merge code help
    ... If you embed your MERGEFIELD inside another field, coded, thus: ... column that is only wide enough for 1 character, ... To control the overall size of the bar, simply format the '?' ... one cell of the table changes color; ...
    (microsoft.public.word.vba.general)
  • Re: Square-box character in data import
    ... You should get 2 lines of text in the cell. ... all your square box chars. ... > those lines (apart from the last for each record's mailing address) has ... It's obviously the CrLf character created when I press ...
    (microsoft.public.excel.misc)