[Lazarus] TabControl TabWidth/TabHeight patch

Alexey aaa5500 at ya.ru
Sun Dec 11 17:02:07 CET 2016


Delphi: TCustomTabControl has prop TabWidth/TabHeight; TTabControl gets 
TabWidth/TabHeight from it; TPageControl too

Laz: TTabControlStrings holds prop TabWidth/TabHeight; TTabControl gets 
TabW/TabH from FTabs; TPageControl - hehe, dont have published TabW/TabH

I made a pch, which changes it to Delphi-way.
will you take it?
it is made for that TabControl can pass TabW/TabH to widgetset, then 
widgetset can apply it
(via Win32 API TCM_SETITEMSIZE).
pch also adds widgetset proc SetTabSize.

(later: pch, which implements Win32 TabWidth/TabHeight).

-- 

Regards,
Alex



More information about the Lazarus mailing list