Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-08

How to customize the field labels of TTIPropertyGrid

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dennis

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>

Reply by email