Jump to content


Photo

Backspace in NxComboBox


  • Please log in to reply
2 replies to this topic

#1 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 17 June 2010 - 02:08 PM

Boki, it seems that the Backspace key doesn't work correctly in the latest version 5.5.10.1.

After entering a text, the first backspace deletes the right character (what is correct) but also selects the whole text afterwards (instead of just placing the cursor to the correct position without a selection).

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 17 June 2010 - 04:58 PM

Hello Aim,

Find procedure

CODE
procedure TNxComboBox.KeyPress(var Key: Char);


in NxEdit.pas

and add

Exit;

at the start of this procedure, immediately after

CODE
  inherited KeyPress(Key);


Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 17 June 2010 - 05:44 PM

thanks.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users