mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 14:19:31 +02:00
* fixed setting wrong component state. csDesignInstance and csInline were set inversed.
git-svn-id: trunk@13916 -
This commit is contained in:
parent
d44c6876cd
commit
0c725eae43
@ -301,18 +301,18 @@ Procedure TComponent.SetDesignInstance(Value: Boolean);
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
If Value then
|
If Value then
|
||||||
Exclude(FComponentState, csDesignInstance)
|
Include(FComponentState, csDesignInstance)
|
||||||
else
|
else
|
||||||
Include(FComponentState, csDesignInstance);
|
Exclude(FComponentState, csDesignInstance);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Procedure TComponent.SetInline(Value: Boolean);
|
Procedure TComponent.SetInline(Value: Boolean);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
If Value then
|
If Value then
|
||||||
Exclude(FComponentState, csInline)
|
Include(FComponentState, csInline)
|
||||||
else
|
else
|
||||||
Include(FComponentState, csInline);
|
Exclude(FComponentState, csInline);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user