[lazarus] Delphi incompatibility

Kevin Berry kevinbe71 at yahoo.com
Tue May 16 12:06:43 EDT 2000


I agree with this idea - one ancestor to maintain, two
descendent classes.  Makes it compatible with Delphi.

Kevin.

--- Curtis White <cwhite at aracnet.com> wrote:
> 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.


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/






More information about the Lazarus mailing list