Changeset 21 for trunk/UOptionsForm.pas
- Timestamp:
- Feb 12, 2012, 8:05:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UOptionsForm.pas
r15 r21 16 16 ButtonOk: TButton; 17 17 ButtonCancel: TButton; 18 CheckBox1: TCheckBox; 18 19 ComboBoxLanguage: TComboBox; 19 20 Label1: TLabel; … … 48 49 ComboBoxLanguage.ItemIndex := MainForm.CoolTranslator1.Languages.IndexOf(MainForm.CoolTranslator1.Language); 49 50 if ComboBoxLanguage.ItemIndex = -1 then ComboBoxLanguage.ItemIndex := 0; 51 CheckBox1.Checked := MainForm.OpenProjectOnStart; 50 52 end; 51 53 … … 54 56 if ComboBoxLanguage.ItemIndex <> -1 then 55 57 MainForm.CoolTranslator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]); 58 MainForm.OpenProjectOnStart := CheckBox1.Checked; 56 59 end; 57 60
Note:
See TracChangeset
for help on using the changeset viewer.