[lazarus] Delphi incompatibility

Curtis White cwhite at aracnet.com
Mon May 8 21:26:30 EDT 2000


This is exactly what I had before. But instead of inheriting TTabbedNotebook from TNotebook, I had them both inherit from TCustomNotebook. All the functionality for a Notebook is in TCustomNotebook.
The only difference between TNotebook and TTabbedNotebook was Tabs were enabled on TTabbedNotebook and disabled on TNotebook.

I still like the idea of having just one that we can turn the tabs on and off. That is less to maintain. And if we provide a way to map TTabbedNotebook to TNotebook, then we solve the problem and
only have one control to maintain.


Curtis

Shane Miller wrote:

> Well, what we can do is create a TNotebook and a TTabbedNotebook or a TPageControl and just inherit TNotebook so it'll all be the same class just one has ShowTabs set to false and one set to true.
>
> That ok?
> Shane
>
> >>> kevinbe71 at yahoo.com 05/08/00 08:17AM >>>
> Sure, that sounds fine, but why change it to be
> different from Delphi?  That makes it harder to
> port applications.  Is there a good reason for
> it?  It isn't that critical obviously and if
> there is a good reason then that is fine.
>
> Cheers,
> Kevin.
>
> --- Shane Miller <SMiller1 at stvgb.org> wrote:
> > We have a property called
> > SHOWTABS
> > that you can set to false and the tabs aren't
> > visible then.  Is that sufficient?
> >
> > Shane
> >
> >
> > >>> kevinbe71 at yahoo.com 05/05/00 08:08AM >>>
> > Just my 2c on this (below)...  I really find the
> > notebook useful for things like wizards (eg.
> > InstallShield) where you don't actually want tabs.
> > I
> > do think it should be restored to the original
> > behaviour.
> >
> > > Actually, I think it was meant to be the permanent
> > > solution because
> > > I originally created them as they are in Delphi.
> > I
> > > had created a
> > > TTabbedNotebook with tabs and the TNotebook
> > without
> > > tabs.  But someone removed
> > > TTabbedNotebook and added tabs to TNotebook.  So
> > > basically that original way
> > > was removed.
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus

--
----------------------------------
Curtis White
cwhite at aracnet.com
http://www.aracnet.com/~cwhite/
----------------------------------








More information about the Lazarus mailing list