Recent

Author Topic: 'Change Class' and custom data storage  (Read 1832 times)

Sieben

  • Full Member
  • ***
  • Posts: 215
'Change Class' and custom data storage
« 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 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.
Lazarus 2.0.10, FPC 3.2.0, .deb install on Ubuntu Xenial 32 / Gtk2 / Unity7

 

TinyPortal © 2005-2018