From examination of the exported datawindow source code, I see the following:
Column id 96: ratkaisutyyppi char(8)
DDDW name: d_pop_koodi DisplayColumn: kuvaus DataColumn: poptunnus DDDW.limit = 0
Column id 16: liittymatyyppi char(8)
DDDW name: d_pop_koodi DisplayColumn: kuvaus DataColumn: poptunnus DDDW.limit = 40
Column id 11: taphtunalaji char(8)
DDDW name: d_pop_koodi DisplayColumn: kuvaus DataColumn: poptunnus DDDW.limit = 40
Column id 26: resepitunnus char(8)
DDDW name: d_muko_koodi DisplayColumn: nimi DataColumn: koodi DDDW.limit = 40
Since I do not have the source for d_pop_koodi and d_muko_koodi, I can only assume the columns identified as the DataColumn are also defined as char(8). That is one item I suggest needs to be checked.
I'm not sure why the dddw.limit is not the same for these columns. Another thing you could experiment with.
I suspect there may be a problem with the changes being made at execution time to switch languages. Since you have functions in global objects dynamically making significant changes to the main datawindow, I suggest you temporarily add a command button to the window that extracts and displays the dddw.displaycolumn and dddw.datacolumn properties of each of these four column objects... This can be done via dot notation:
String ls_displaycolumn, ls_datacolumn
ls_displaycolumn = d_tillittyma.Object.ratkaisutyyppi.dddw.displaycolumn
ls_datacolumn = d_tillittyma.Object.ratkaisutyyppi.dddw.datacolumn
or via Describe:
String ls_displaycolumn, ls_datacolumn
ls_displaycolumn = d_tillittyma.Describe("ratkaisutyyppi.dddw.displaycolumn")
ls_datacolumn = d_tillittyma.Describe("ratkaisutyyppi.dddw.datacolumn")
Then display these values (along with the column name) via MessageBox. I'm not familiar how this app works, but if possible, check these values before and again after switching languages.
The only other suggestion I have is to temporarily disable the dynamic property changes to these columns, if possible, to see if the errant behavior clears up. That might indicate or give a clue where the issue lies.
Thank you for you reply. Initially i thought the same solution and i rebuild it complete package along with all the library but it won't help. In our application we have two menu's to change the language . If i clicked the other language menu and it was got updated name details in dropdown and after that it was working. If i just click the language it was loaded fine.