Focus error in translation editor

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Rien Mulder
Posts: 7
Joined: Fri May 12, 2006 2:14 pm

Focus error in translation editor

Post 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
Rien Mulder
Posts: 7
Joined: Fri May 12, 2006 2:14 pm

Post by Rien Mulder »

Work around:
Just select one ore more rows, and press delete
Exclude blanks

this will do the same job

Rien Mulder
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Thank you for notice, we're investigating this...
Best regards,
Igor Siticov.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
pdpearce
Posts: 13
Joined: Thu Feb 03, 2005 11:56 am
Location: Bakewell UK

Post by pdpearce »

This fix seems to have worked ok for me.
Post Reply