Skip to content

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information