Joined: 07 Mar 2007
Location: United States
|Posted: Mon Mar 12, 2007 9:49 pm Post subject: Skipped lines in need of translation
|The following line of Delphi code is not recognized as needing a GetTextorDefault:
self.OrdCustomerAddress2.Hint:= 'Bill to: '#13+dmOrder.OrdCustomerAddrBlock.AsString + tern(AppSettings.Admin.Misc.ShowMapIt,#13'Click to locate address on internet','');
Tern (bool,string,string) is a function returning a string.
Even when broken into lines:
self.OrdCustomerAddress2.Hint:= 'Bill to: '
+ #13 + tern(AppSettings.Admin.Misc.ShowMapIt,
'Click to locate address on internet','');;
only the first line ('Bill to:') is recognized.
Tools | Options menu option, Exclude & Skip tab does not have anything that would prevent.
I had three almost identical lines and all were skipped.
Also, I am guessing you are already aware that multi-line comments are not skipped by the File | Source | With Form option.
Thanks - I post these things but am really pleased with the everything so far.