[lazarus] Delphi incompatibility
cwhite at aracnet.com
Wed May 3 21:42:55 EDT 2000
I think in the past we decided that everything doesn't have to be exactly
the same as Delphi, but if it isn't, then we need to document it so that we
can make Lazarus do the conversions. That is how TNotebook is. The
TNotebook control in Delphi does not have tabs but the LCL one does. Also,
we don't have a TTabbedNotebook any more as Delphi does.
So I don't see a problem with having buttons in a different unit. It is
easier to determine where buttons are that way. The stdctrls name isn't
really very helpful in determining what is in that unit. The reason Borland
named it that is because those are standard Windows controls and a lot of
developers prior to Delphi knew them that way. But since Lazarus isn't
built just for Windows, some of those names don't make a lot of sense.
Under Linux, the name stdctrls really doesn't mean anything useful, other
than compatibility with Delphi. I vote to leave buttons in the buttons
unit for ease of maintainability.
Marc Weustink wrote:
> At 23:15 03-05-2000 +0200, Vincent Snijders wrote:
> >In Delphi (3) TButton is part of the stdctrls unit, in LCL it is in the
> >buttons unit. Shouldn't it be in the strdctrls unit?
> In D4 as well, I think it should. Any comments ?
More information about the Lazarus