Tstringlist InsertObject

  • /FPC Version: <3.2.2>

var lstrs:TstringList; begin ... lstrs.OnChange:=FOnStrChange; lstrs.InsertObject(0,'test',Abtn); ... end;

in the FOnStrChange Event,i try to get Objects in Tstringlist.it's value is null

in the source code,I found InsertObject is inherited from Tstrings.TStrings.InsertObject fire the event before Object Assgined Value