[lazarus] TNotebook vs TTabbedNotebook
Kevin Berry
kevinbe71 at yahoo.com
Sun Jan 9 12:06:02 EST 2000
Marc, I'd agree with you except for one thing...
What happens if someone has designed a custom
component based on TCustomNotebook? This is just
hypothetical since I don't know of any custom
components that do inherit from TCustomNotebook...
Shouldn't we also be trying to make as many custom
components work (when source code is provided) if
possible? That way people can port their Delphi apps
much easier to Linux.
Cheers,
Kevin.
--- Marc Weustink <weus at quicknet.nl> wrote:
> Hi,
> Since the TNotebook and TTabbedNotebook are on the
> win31 page I didn't
> concern much about them, but here some thoughts. The
> reason why Borland put
> them on this page is IMO only for backward
> compatibility. Most of them have
> a good and usable counter part. So in daily
> development I don't use them
> (except for TNoteBook, I havn't found a
> replacement).
> In Delphi 4 (& 3 & 2) TNotebook is a decendant of
> TCustomControl and
> TTabbedNotebook a decendant of TCustomTabControl.
> Since we are trying to be
> Delphi compatible I think we should do the same. So
> TNotebook shoud be just
> a notebook whithout tabs, a plain control with
> pages. TCustomNotebook
> shouldn't be used anymore and TTabbedNotebook is a
> decendant of
> TCustomTabControl.
> This brings me to my feeling of the win31 beeing a
> compatabiliti page, I
> think that in the IDE develompment we should prefer
> the use of the
> TPageControl instead of TTabbedNotebook.
>
> Marc
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
More information about the Lazarus
mailing list