Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Database/Data Aware Controls/TDBGrid    [ Add a report in this area ]  
Report #:  79485   Status: Closed
  Keyboard layout swtching when exiting dbgrid control
Project:  Delphi Build #:  14.0.3539.24502
Version:    14.0 Submitted By:   Georgi Georgiev
Report Type:  Basic functionality failure Date Reported:  11/13/2009 4:29:06 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   273745
Resolution: Fixed (Resolution Comments) Resolved in Build: : 15.0.3869.33485
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description


Added by Sysop
<<<<<<<<<<<<<<<<<<
Reproducing is really easy;

You should have at least 2 input locales installed to be able to duplicate.

-> Create a new VCL forms application

-> Put a Button, and then a DBGrid on the form, with this order.

-> Double click the form and put the below code on the OnCreate event;

  SysLocale.FarEast := True;

(this step might be unnecessary depending on your system input locale)

-> Run the project

-> Press Alt+Shift to change your input locale to anything other than the default one (or any other means if you've changed the default shortcut keys)

-> Click the DBGrid

-> Click the Button

expected: The input locale does not default to the default one.

actual: The input locale defaults to the default locale.
>>>>>>>>>>>>>>>>>>
Steps to Reproduce:


Hi everybody,

I recently upgraded from DELPHI 5 to RAD Studio 2010 PRO. I receive very annoying problem:

When I have dbgrid control in my form, when dbgrid lose focus, keyboard layout turns to "default". My programs are used in Bulgaria, where normaly default layout is English and alternative (but mostly used!) is Bulgarian, it present annoyng problem. In older version i haven't such problem.

If someone has solution to this problem, please post it here or send me message at: office at promsoft dot bg

Best regards

Georgi
Workarounds
SET DEFAULT KEYBOARD LAYOUT BULGARIAN
Attachment
None
Comments

Tomohiro Takahashi at 11/13/2009 6:50:32 AM -
> When I have dbgrid control in my form, when dbgrid lose focus, keyboard layout turns to "default".
Does your issue occur on TDBGrid only?

And, could you please write more detailed Steps(including environment/settings of your OS) and the behavior to reproduce your issue?

Sertac Akyuz at 11/23/2009 1:30:14 PM -
Reproducing is really easy;

You should have at least 2 input locales installed to be able to duplicate.

-> Create a new VCL forms application

-> Put a Button, and then a DBGrid on the form, with this order.

-> Double click the form and put the below code on the OnCreate event;

  SysLocale.FarEast := True;

(this step might be unnecessary depending on your system input locale)

-> Run the project

-> Press Alt+Shift to change your input locale to anything other than the default one (or any other means if you've changed the default shortcut keys)

-> Click the DBGrid

-> Click the Button

expected: The input locale does not default to the default one.

actual: The input locale defaults to the default locale.

Tomohiro Takahashi at 11/23/2009 9:41:26 PM -
I confirmed this issue on Windows 7 Japanese Edition and Chinese IME.

Markus Humm at 11/18/2009 4:21:09 AM -
Could you provide a small sample app. showing this behaviour?

Alexander Alexeev at 4/9/2010 8:06:14 AM -
See report 73750 (comments) for workaround.

Server Response from: ETNACODE01