Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-11

TCustomForm.GetFloating

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich
function TCustomForm.GetFloating: Boolean;
begin
   Result := ((HostDockSite = nil) and (Parent=nil)
             and (FloatingDockSiteClass = ClassType)) <---------------
          or (inherited GetFloating);
end;

What's the reason for checking FloatingDockSiteClass here?

What can a form with no Parent and no HostDockSite do other than float?

DoDi

Reply by email