[Lazarus] Converting from TNotebook to TPageControl

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Apr 25 11:53:37 CEST 2011

Felipe Monteiro de Carvalho wrote:
> On Sun, Apr 24, 2011 at 2:33 PM, Mark Morgan Lloyd
> <markMLl.lazarus at telemetry.co.uk> wrote:
>> Is there an "approved" way to do this with TPageControl? I see from the
>> online info that one can cast to a TCustomNotebook to access .Pages as a
>> TStrings, but is this safe in the long term or will TCustomNotebook go the
>> way of TNotebook?
> The future of TCustomNotebook is getting renamed to
> TCustomPageControl, so it will work the same, just the casted named
> will need to change.

Thanks Felipe. Nice to know I'm not doing anything too unorthodox.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list