Jump to content


NoSi

Member Since 14 Feb 2005
Offline Last Active Dec 16 2014 10:06 AM
-----

Posts I've Made

In Topic: Tab key behaviour

16 December 2014 - 10:06 AM

Hi.

 

Short test → does not finally work as expected, because TAB-key still „beeps“. As I can see in the code, there was a solution implemented but is commented:

 if (Key = #13) or (Key = #9) then
  begin
//   Key := #0; // causes a problem when closing NxComboBox popup
    Exit;
  end;

This is a little bit useless, because a few lines above #13 is set to #0. Maybe reducing it to #9 and uncomment Key... will work without problems noted in the comment but I have no time to check this.


In Topic: Tab key behaviour

14 December 2014 - 01:58 AM

Do deactivate the sound (very annoying!! Searched for a workaround in current version — Dec 2014 — several hours) you can try this:

 

Add to OnKeyPress Event of Grid this code:

 

if (Key = #13) then
       Key  := #0;

if (Key = #9) then
       Key  := #0;

 

 

I found this hint in a German forum, dated January, 2004

 

It works in Delphi XE7 and should work in older versions (s. hint date), too.