Code: Alles auswählen
iNdx: integer;
cboTxt: string;
:
ComboBox1.AddItem(sTxt, Tobject(iNdx));
Konakte.pas(197,31) Error: Illegal type conversion: "LongInt" to "Tobject"
auch lesen
Code: Alles auswählen
iNdxS:= Integer(ComboBox1.Items.Objects[ComboBox1.ItemIndex]);
Konakte.pas(384,11) Error: Illegal type conversion: "TObject" to "LongInt"
Das selbe Projekt funktioniert auf einem Win7 32 Bit-Rechner, auch Lazarus 1.0.14, fehlerfrei.
Hat jemand eine Ahnung ob man das abstellen kann?
Vielen Dank
noenglish