[Lazarus] Updating applications
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Fri Feb 10 14:46:56 CET 2012
zeljko schrieb:
> 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
More information about the Lazarus
mailing list