Thema: Delphi Key in ComboBox

Einzelnen Beitrag anzeigen

Satty67

Registriert seit: 24. Feb 2007
Ort: Baden
1.566 Beiträge
 
Delphi 2007 Professional
 
#16

Re: Key in ComboBox

  Alt 2. Mär 2009, 15:51
Das verwirrt mich doch sehr:
hotkey1 := StrToInt(MyIniFile.ReadString('hotkeys','hotkey1','')); warum nicht so?
hotkey1 := MyIniFile.ReadInteger('hotkeys','hotkey1',0);
Zitat von thomas2009:
wo ist das Problem ?
In INIs kann man direkt Zahlen speichern, also warum die Umwandlung in einen String?
  Mit Zitat antworten Zitat