[Lazarus] Is TTabControl deprecated?

Martin lazarus at mfriebe.de
Tue May 22 20:23:59 CEST 2012


On 22/05/2012 19:18, zeljko wrote:
>
> On Tuesday 22 of May 2012 20:14:36 Krzysztof wrote:
>
> > Hi,
>
> >
>
> > I'm looking for component which have "pages" functionality, but I want
>
> > draw it by my self. TPageControl and TNotebook has no events for that.
>
> > Only TTabControl has OnDrawTab event and OwnerDraw property but it
>
> > seems that this control is incomplete or abandoned:
>
> > - OnDrawTab event exists but where draw it? FCanvas is in private
>
> > section and there is no public property
>
> > - OwerDraw property is not used anywhere
>
>
> Tabs cannot be draw under most of widgetsets, but there are 
> customdrawn controls and I think tab control is useable.
>
>
TExtendedNotebook does draw ON the tab on all platforms.

Well it doesnot draw the tab itnself, it only adds the arrows, when 
dragging tabs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120522/3eb186a1/attachment-0003.html>


More information about the Lazarus mailing list