Page 1 of 1

Focus error in translation editor

Posted: Sun May 14, 2006 6:03 pm
by Rien Mulder
Using D2006 with TsLang 6.0.2.
In the Translation Editor I do get a list of all the captions of my form
If I want to exclude one component from the list.
right mouse button gives a popup list with, as last item, the Exclude command (crtl-e). When this is selected (with the left mouse button) suddenly another component is the list is seleted !! this is wrong
The wrong focus is always 6 lines under the desired componenten.

It is the same when direct choosing to exclude via the ctrl-E command



regards,

Rien Mulder

Posted: Sun May 14, 2006 8:27 pm
by Rien Mulder
Work around:
Just select one ore more rows, and press delete
Exclude blanks

this will do the same job

Rien Mulder

Posted: Mon May 15, 2006 7:43 am
by isiticov
Thank you for notice, we're investigating this...

Posted: Tue May 16, 2006 2:54 am
by isiticov
We've fixed this on our side and the fix will be available in next update release.
In order to fix this on your side you will need the following:
1. Open siTransEditor.pas.
2. Find in the source code:

Code: Select all

procedure TsiTransEditFrm.pmiExcludeClick(Sender: TObject);
3. Modify it at beginnig commenting out popGridPopup() call, so it will look like:

Code: Select all

procedure TsiTransEditFrm.pmiExcludeClick(Sender: TObject);
var
  eaIndex: Integer;
begin
  {TSI:IGNORE ON}
//  popGridPopup(popGrid);
  if not Assigned(ExclActionForm) then
    ExclActionForm := TExclActionForm.Create(Self);
4. Re-build the package.

Please let me know if this helps.

Posted: Thu May 18, 2006 8:05 am
by pdpearce
This fix seems to have worked ok for me.