Exclude property of a component declared elsewhere

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
hretif
Posts: 10
Joined: Mon Dec 05, 2005 5:33 pm

Exclude property of a component declared elsewhere

Post by hretif »

Hi,

In my Main Form, I reference data sets which are located in data modules (I don't need to translate anything in them).

In this Main Form I use, for example: MyDataModule.ADataSet.FieldByName('someField').AsInteger.

How can I exclude all FieldByName properties which are used in the Main Form?

Thanks,
Hubert
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,

Do you mean that you need to exclude these lines from scanning while using source translation from TsiLang Expert? In this case you can use ignore tags ({TSI:IGNORE ON/OFF}) in your source code. Also you can use Exclude function on Found Strings form toolbar (add lines containing FieldByName to the exclusion list), or add FieldByName directly to the TsiLang Expert options: "Skip lines containing..." field on "Exclude and Skip" tab. But this will exclude such lines of code for all projects.
Hope this helps.
Best regards,
Igor Siticov.
hretif
Posts: 10
Joined: Mon Dec 05, 2005 5:33 pm

Post by hretif »

"Skip lines containing FieldByName" will be the right one. Thanks.

Hubert
Post Reply