Hi folks,
I had some minutes of sparetime and went through control.inc.
Two things I d' like to ask:
1.) sometimes parent/FParent are checked for nil, before the method access
it, and sometime not.
Is this by purpose or are this potential Access-Violation candidates.
2.) In my
On Sun, 14 Dec 2008 06:48:58 -0800 (PST)
Samuel Herzog sam_her...@yahoo.com wrote:
Hi folks,
I had some minutes of sparetime and went through control.inc.
Two things I d' like to ask:
1.) sometimes parent/FParent are checked for nil, before the
method access it, and sometime not. Is this
:12 Uhr
Betreff: Re: [Lazarus] Had a look at control.inc..
On Sun, 14 Dec 2008 06:48:58 -0800 (PST)
Samuel Herzog sam_her...@yahoo.com wrote:
Hi folks,
I had some minutes of sparetime and went through control.inc.
Two things I d' like to ask:
1.) sometimes parent/FParent are checked for nil
On Sun, 14 Dec 2008 08:48:48 -0800 (PST)
Samuel Herzog sam_her...@yahoo.com wrote:
For example:
procedure TControl.ParentFontChanged;
begin
if csLoading in ComponentState then exit;
if FParentFont then
begin
Font := FParent.Font;
FParentFont := true;
end;
end;