[Lazarus] TTabControl reverted to it's old implementation
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Jul 26 19:59:29 CEST 2011
Felipe Monteiro de Carvalho schrieb:
> On Tue, Jul 26, 2011 at 5:04 PM, Hans-Peter Diettrich
> <DrDiettrich1 at aol.com> 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
More information about the Lazarus
mailing list