I have a grid with serveral columns.
I can translate the title.caption but not the picklist
dbgrid.Columns[3].Picklist
is it possible to translate a picklist of a column in a dbgrid?
translationg picklist from dbgrid comumn
translationg picklist from dbgrid comumn
Accowin
The Belgian Accounting program
The Belgian Accounting program
Hello,
You would need to translate this property manually. Something like this:
dbgrid.Columns[3].Picklist.Text := 'Line#1'#13#10'Line#2';
then scan the source with TsiLang Expert and it will replace this to something like this:
dbgrid.Columns[3].Picklist.Text := siLang1.GetTextOrDefault('IDS_PICKLIST');
After that just call this in OnChangeLanguage event of TsiLang.
You would need to translate this property manually. Something like this:
dbgrid.Columns[3].Picklist.Text := 'Line#1'#13#10'Line#2';
then scan the source with TsiLang Expert and it will replace this to something like this:
dbgrid.Columns[3].Picklist.Text := siLang1.GetTextOrDefault('IDS_PICKLIST');
After that just call this in OnChangeLanguage event of TsiLang.
Best regards,
Igor Siticov.
Igor Siticov.