Registriert seit: 17. Mai 2007
482 Beiträge
Delphi XE6 Professional
|
TComboBox and string object
14. Feb 2012, 14:53
Delphi-Version: 2010
Add with function():
AStrings.AddObject(Name, TObject(string(Path)))
;
Test in OnChange:
ShowMessage(string(cbList.Items.Objects[cbList.ItemIndex]));
First ShowMessage() is showing path and then raises EInvalidPointer. How to fix it?
|