[Lazarus] vertical tabs under Windows

Marc Weustink marc.weustink at cuperus.nl
Wed Oct 27 10:20:47 CEST 2010


Graeme Geldenhuys wrote:
> Hi,
>
> I was looking at the MSDN documentation about tabs and came across this
> page. It's actually a very informative page.
>
> In the url below, it shows an example of how a vertical tab (ie: if you
> have 8 or more tabs) should look. Is this screenshot actually a
> "pagecontrol" component (in terms of Delphi or LCL) with tab alignment on
> left - meaning that horizontal tabs (as we normally know them)
> automatically become a listbox style when tab alignment is left or right?

Nope, this is not a tabcontrol.
Left/Right tabs are not supported by since XP-themes. There is nothing 
automatic here.


> http://msdn.microsoft.com/en-us/library/aa511493.aspx#guidelines
>
> I always thought vertical tabs under windows are just like horizontal tabs,
> but turned on there side (even the text goes from top-to-bottom or
> bottom-to-top). I much prefer the look as show in the screenshot, but not
> sure if that is actually how vertical tabs automatically look in newer
> Windows versions, or if they simply "simulated" a page control by using a
> listbox and panel/frames.

It's a listbox and "frames" (or just hide&show controls)

Marc




More information about the Lazarus mailing list