end;
procedure TfrmConstEditor.FormCreate(Sender: TObject);
-var c: char;
- i: integer;
begin
if Application.Terminated then Exit;
//\83\81\83j\83\85\81[\8dì\90¬
- for c := 'A' to 'Z' do begin
- cbxConstShortCut.Items.Add('Ctrl+' + c);
- end;
- for c := 'A' to 'Z' do begin
- cbxConstShortCut.Items.Add('Shift+Ctrl+' + c);
- end;
- for c := 'A' to 'Z' do begin
- cbxConstShortCut.Items.Add('Alt+Ctrl+' + c);
- end;
- for i := 1 to 12 do begin
- cbxConstShortCut.Items.Add('F' + IntToStr(i));
- end;
- for i := 1 to 12 do begin
- cbxConstShortCut.Items.Add('Shift+F' + IntToStr(i));
- end;
+ BuildShortCutList(cbxConstShortCut.Items);
tvwConst.DoubleBuffered := true;
end;