Show quoted text 14 lines
On Friday 10 of February 2012 12:36:42 Hans-Peter Diettrich wrote:
> When I tried to run an old application, I ran into problems with
> TNotebook, whose interface was changed some time ago.
>
> How can I update forms which contain old TNotebook components, to e.g.
> TPageControl, without loosing all the controls in the pages?
What has been changed in TPageControl
TNoteBook is not (any more) related to TPageControl, and (now) doesn't have visible tabs/pages.
I found this workaround:
1) Open the project in an older Lazarus version, which supports the old version of TNoteBook.
2) Add a TPageControl.
3) For every notebook page do a Cut&Paste into a new Page. Copy won't work, because the controls are renamed by Paste! Update the Caption of the Page.
DoDi