Felipe Monteiro de Carvalho schrieb:
> I had hoped that the widgetset interface would allow to implement simple tabbed controls (without pages), and derive paged controls in the LCL, but nothing happened in that direction :-(

Wasnt you the one sending patches for the new ttabcontrol?

Right. My patches implemented a Delphi compatible TTabControl, at least with the Win32 widgetset.

But then stopped suddenly.

Not suddenly, I can not implement widgetsets which are unavailable on my machine.

Of course the new ttabcontrol will not fall from the sky, someone has to write it.

The TTabControl was ready for use, provided that the widgetsets are updated accordingly. Without such updates the only solution for a TTabControl is a crippled TPageControl, with hidden pages. This workaround still exists, so what do you expect me to do more?

The intended roadmap was:
1) provide a Delphi compatible TTabControl, under a new name for now.
2) make it work with at least one widgetset.
--- this was what I have done already ---
3) make it work with the other widgetsets - not me!
4) replace the old TTabControl by the new one.

Renaming the old TCustomNotebook by TCustomTabControl was a bad decision, breaking the TTabControl events :-(

I'd suggest to revert the names to the original ones, and continue with step 3.

The final state could provide different implementations, depending on the widgetsets. Every widgetset can continue to use the workaround, until an unpaged tabcontrol can be made work with it. This would allow to compile Delphi applications without any changes, at least for the Win32 widgetset. The current workaround could be named e.g. TLazTabControl, indicating that it is not fully compatible with the Delphi control, but is available with all widgetsets.

DoDi


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

Reply via email to