[Lazarus] TTabControl reverted to it's old implementation
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Wed Jul 27 23:10:42 CEST 2011
Graeme Geldenhuys schrieb:
> On 27 July 2011 17:00, Hans-Peter Diettrich wrote:
>>> Yet when you set the Memo1.Align := alClient, then in
>>> maximizes the memo to fit underneath the tabs. This is very conflicting
>>> behaviour -
>> IMO this is just one solution for above problems, where do you see any
>> conflict?
>
> What is the real (0,0) position? The one Align=alClient displays, or
> the real top-left of the TTabControl.
Ask the Windows developers, why their tab control has tabs inside its
client area.
Delphi implements an DisplayRect property, that uses the TCM_ADJUSTRECT
message for the conversion between the window and client area.
DoDi
More information about the Lazarus
mailing list