Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

TPage.Caption

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David Copeland

Hi all,

I have just this morning updated to the latest svn and now get the following dialog message when opening a form which contains a TNotebook with two TPage's ...

Read error.

Stream=TFormProjDetails: Root=.TformProjDetails
Component Class: TPage
Error reading PageGeneral.Caption: Unknown
property: "Caption"
Stream position: 8192

Have I missed some changes that explain this, or is this a bug?

Thanks,
Dave Copeland.

Reply by email

Mark Morgan Lloyd
to David Copeland
David Copeland wrote 7 lines
On 01/14/2011 10:57 AM, Felipe Monteiro de Carvalho wrote: > On Fri, Jan 14, 2011 at 4:51 PM, David Copeland > wrote: >> Have I missed some changes that explain this, or is this a bug? > http://wiki.lazarus.freepascal.org/Lazarus_0.9.30_release_notes#TNotebook_and_TPage Thanks Felipe,

Thanks for the reminder from me as well. Is there any functionality in TNotebook/TPage that has been intentionally omitted from its replacement?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Felipe Monteiro de Carvalho
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
Thanks for the reminder from me as well. Is there any functionality in TNotebook/TPage that has been intentionally omitted from its replacement?

You mean functionality from the old TNotebook?

The most important thing missing are the tabs. They no longer exist, because there is already a control for tabs: TPageControl

So, for example, TNotebook.ShowTabs no longer exists.

There might be some other stuff too. You can see TCustomNotebook which is still available and is essentially identical to the old TNotebook, for a comparison. TCustomNotebook is still in the LCL, because some components need it, but it's final destiny is the trash can with the old TNotebook.

Felipe Monteiro de Carvalho

Reply by email

Mark Morgan Lloyd
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 17 lines
On Fri, Jan 14, 2011 at 7:23 PM, Mark Morgan Lloyd wrote: > Thanks for the reminder from me as well. Is there any functionality in > TNotebook/TPage that has been intentionally omitted from its replacement? You mean functionality from the old TNotebook? The most important thing missing are the tabs. They no longer exist, because there is already a control for tabs: TPageControl So, for example, TNotebook.ShowTabs no longer exists. There might be some other stuff too. You can see TCustomNotebook which is still available and is essentially identical to the old TNotebook, for a comparison. TCustomNotebook is still in the LCL, because some components need it, but it's final destiny is the trash can with the old TNotebook.

OK, but basically: if I can't see how to do something with TPageControl that I could with TNotebook/TPage should I be asking promptly, or is there stuff that has been intentionally dropped?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Felipe Monteiro de Carvalho
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
OK, but basically: if I can't see how to do something with TPageControl that I could with TNotebook/TPage should I be asking promptly, or is there stuff that has been intentionally dropped?

It is impossible that something exists in the old TNotebook and isn't in TPageControl, because:

TPageControl = class(TCustomNotebook)

But indeed, if you see anything missing you can create a bug report.

Felipe Monteiro de Carvalho

Reply by email