[lazarus] unsubscribe

Intranet User 5622 nopam at impac-tec.com
Sun Jan 9 15:52:21 EST 2000



----- Original Message -----
From: Curtis White <osiriz at teleport.com>
To: <lazarus at miraclec.com>
Sent: Saturday, January 08, 2000 9:55 PM
Subject: RE: [lazarus] TNotebook vs TTabbedNotebook


>
> On 08-Jan-2000 d0hb0y wrote:
> > Couldn't TNotebook be a subclass of TTabbedNotebook where the default
value
> > of "showtabs" was set to false?  That way we get the best of both worlds
I
> > would think.
>
> They are both a subclass of TCustomNotebook which contains all the
notebook
> functionality.
>
> >
> > I suppose it could be reversed such that TNotebook is the base class and
> > TTabbedNotebook is just TNotebook with showtabs set to true :)
>
> This is basically how it was. They both inherited from TCustomNotebook
which
> contained all the functionality of the notebook. The only difference was
that
> the TNotebook set the tabs to false and TTabbedNotebook set them to true.
I
> think there may be some additional properties that were also different,
but I
> don't remember for certain.
>
> It really doesn't make much sense to have two of them to do almost the
same
> thing. It would be better to have just TNotebook with a TabsVisible
property
> that allows you to set it to true or false and turn on and off tabs. But
if we
> don't have a TTabbedNotebook, then every Delphi program that uses it will
> have to be converted to use TNotebook and the TabsVisible property. We
could
> easily do this in Lazarus as long as we remember that it must be done.
>
> Between the holidays and me completely rebuilding all my computers
(upgrading
> them all to faster processors and more RAM), I haven't had any time to
work on
> Lazarus. But things are getting back to normal again and I should start
having
> some time again. I am planning to make up a web page that explains what
needs
> to be changed when converting from Delphi to FPC/Lazarus. Maybe we can
just
> keep the single TNotebook and I will add that to the page as something
that
> must be converted.
>
>
> Curtis
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
>






More information about the Lazarus mailing list