Lazarus

Using the Lazarus IDE => Designer => Topic started by: Sieben on December 20, 2020, 05:21:41 pm

Title: 'Change Class' and custom data storage
Post by: Sieben on December 20, 2020, 05:21:41 pm
The IDE seems to be unable to change the class of a component when custom storage of some data like eg the items data of TTreeView (https://forum.lazarus.freepascal.org/index.php/topic,40523.msg279982.html#msg279982) or TListView is involved. To reproduce drop a TListView or TreeView on a form and add a few items. Create a simple skeleton descendant of said class then, install it and try to change class to the new one. The IDE has no problems of course to load the new component including the items if you change all references in lfm and pas files outside the IDE.
TinyPortal © 2005-2018