[Lazarus] How to customize the field labels of TTIPropertyGrid

Dennis dec12 at avidsoft.com.hk
Thu Aug 4 07:44:30 CEST 2016


I have been using TTIPropertyGrid and it is great for providing a user 
interface for users to edit various objects.
However, the grid display the object field names in english.
I need to provide a chinese interface for users so I need to somehow 
override the field names displayed but I am at a loss when look at the 
source code.
the inheritance tree is deep and I failed to identify where I can insert 
a custom translation function like:
    translate(TheOldFieldName, TheTargetLanguage : String)  : String

can anyone give me any hint?

Dennis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160804/e3a939c7/attachment.html>


More information about the Lazarus mailing list