%ffp ctl(1): StaticText, "Language" ctl(2): StaticText, "Example" ctl(3): StaticText, "English only" ctl(4): StaticText, "No translation" ctl(7): ComboBox, "English\nDutch\nGerman", val = 0, size = (*, 100), action = preview OnFilterStart: { const int CTL_LANGUAGE = 7; const int EOF = -1; int filenr, ctl, lng; if (filenr = fopen("lngtest.lng", "r")) { while (fscanf(filenr, "%3d:%1d=", &ctl, &lng) != EOF) { fgets(&str0,254,filenr); if (lng == ctl(CTL_LANGUAGE)) setCtlText(ctl, str0); } fclose(filenr); } return true; }