Page 1 of 1

Backspace in DCGET deletes 2 characters.

Posted: Fri Aug 11, 2017 4:48 pm
by Cliff Wiernik
Just noticed this in my application and tried it in xdemo.

Open the xdemo application or the enter key application from sample group 1.

In the application sample first tab, first get, click on any character in the middle of the field. Press backspace and you see that it deletes two characters.

In the enter key sample, type in 123456789. Move the cursor to 7 and press backspace, it deletes 6 and 7.

Is this the way it should be working???

Re: Backspace in DCGET deletes 2 characters.

Posted: Sat Aug 12, 2017 11:39 am
by bwolfsohn
Cliff, just tried it here... This only happens in overwrite mode. in insert mode, it only deletes 1 character.

Re: Backspace in DCGET deletes 2 characters.

Posted: Sat Aug 12, 2017 12:24 pm
by rdonnay
I can confirm this.
It deletes both the highlighted character and the leftmost character when not in insert mode.
I don't know if this is Xbase++ behavior or not.

Re: Backspace in DCGET deletes 2 characters.

Posted: Sat Aug 12, 2017 12:37 pm
by Auge_Ohr
Cliff Wiernik wrote:In the enter key sample, type in 123456789. Move the cursor to 7 and press backspace, it deletes 6 and 7.
have you look into Clipboard ... there you find "7" which was mark before.