Felipe Monteiro de Carvalho schrieb:
On Tue, Jul 26, 2011 at 5:04 PM, Hans-Peter Diettrich
<[email protected]> wrote:
Why not name these controls TOldTabControl and TNewTabControl, and set
TTabControl to one of both? This will allow to switch easily between both
implementations, without changing the user code (resource files...).

The main issue is that Delphi's TTabControl behaves somewhat
differently from what I expected, so the old TTabControl was already
largely (or completely?) compatible with it's Delphi counterpart,
despite the wrong class hierarchy.

No, the Tabs.Objects[] behaviour is very different. Also the hierarchy of the child controls is different, due to the added page controls.

And I somehow doubt that the new
TTabControl will be able to achieve such a degree of Delphi
compatibility as the old one.

Please explain where the new control is not Delphi compatible.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to