[Lazarus] Converting from TNotebook to TPageControl

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Apr 25 10:33:18 CEST 2011


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.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list