[lazarus] Patch for win32

pascalive pascalive at bol.com.br
Sun Sep 7 06:41:53 EDT 2003


Mattias wrote
> Right. This is only for historical reasons when the lcl was very limited.
> Before we can change it, we have to check all "is TCustomForm" statements.
> Some functions need to know, if a control is a top level window. Because you
> can't check this with "Parent=nil" many functions use "Control is
> TCustomForm". I think, the easiest way is to add a "IsTopLevelControl"
> function to TWinControl.

I think it should be an interface
function, so we'll not need to
typecast to TWinControl. Furthermore
the implementation will be intf denpendent

Karl Brandt 

 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/







More information about the Lazarus mailing list