mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 16:09:30 +02:00
lcl, designer, ideintf, components: rename csOwnedChildsNotSelectable -> csOwnedChildrenNotSelectable
git-svn-id: trunk@23185 -
This commit is contained in:
parent
0428915070
commit
5b7d36de82
@ -1497,7 +1497,7 @@ constructor TCustomSynEdit.Create(AOwner: TComponent);
|
||||
begin
|
||||
inherited Create(AOwner);
|
||||
SetInline(True);
|
||||
ControlStyle:=ControlStyle+[csOwnedChildsNotSelectable];
|
||||
ControlStyle:=ControlStyle+[csOwnedChildrenNotSelectable];
|
||||
|
||||
FBeautifier := SynDefaultBeautifier;
|
||||
|
||||
|
@ -454,7 +454,7 @@ begin
|
||||
|
||||
// search in children
|
||||
if (csInline in Child.ComponentState) or
|
||||
(Assigned(Control) and not (csOwnedChildsNotSelectable in Control.ControlStyle)) then
|
||||
(Assigned(Control) and not (csOwnedChildrenNotSelectable in Control.ControlStyle)) then
|
||||
begin
|
||||
{$IFDEF VerboseDesignerSelect}
|
||||
DebugLn(['TComponentSearch.Gather search in children of ',DbgSName(Child)]);
|
||||
@ -1649,7 +1649,7 @@ begin
|
||||
if Result=Form then exit;
|
||||
if (Result.Owner is TControl) then begin
|
||||
OwnerControl:=TControl(Result.Owner);
|
||||
if (not (csOwnedChildsNotSelectable in OwnerControl.ControlStyle)) then
|
||||
if (not (csOwnedChildrenNotSelectable in OwnerControl.ControlStyle)) then
|
||||
exit;
|
||||
Result:=GetDesignControl(OwnerControl);
|
||||
end else begin
|
||||
|
@ -178,7 +178,7 @@ begin
|
||||
else
|
||||
Root := AComponent.Owner;
|
||||
|
||||
if not ((Root is TControl) and (csOwnedChildsNotSelectable in TControl(Root).ControlStyle)) then
|
||||
if not ((Root is TControl) and (csOwnedChildrenNotSelectable in TControl(Root).ControlStyle)) then
|
||||
TComponentAccessor(AComponent).GetChildren(@Walk, Root);
|
||||
FNode := OldNode;
|
||||
FNode.Expanded := True;
|
||||
|
@ -1660,7 +1660,7 @@ begin
|
||||
if csInline in Child.ComponentState then begin
|
||||
if scfWithoutInlineChilds in Flags then exit;
|
||||
if (Child is TControl)
|
||||
and (csOwnedChildsNotSelectable in TControl(Child).ControlStyle) then
|
||||
and (csOwnedChildrenNotSelectable in TControl(Child).ControlStyle) then
|
||||
exit;
|
||||
Root:=Child;
|
||||
end;
|
||||
|
@ -414,7 +414,7 @@ constructor TCustomButtonPanel.Create(AOwner: TComponent);
|
||||
begin
|
||||
inherited Create(AOwner);
|
||||
|
||||
ControlStyle := ControlStyle + [csOwnedChildsNotSelectable];
|
||||
ControlStyle := ControlStyle + [csOwnedChildrenNotSelectable];
|
||||
|
||||
Align := alBottom;
|
||||
BevelInner := bvNone;
|
||||
|
@ -214,7 +214,7 @@ type
|
||||
csHasDefaultAction, // control implements useful ExecuteDefaultAction
|
||||
csHasCancelAction, // control implements useful ExecuteCancelAction
|
||||
csNoDesignSelectable, // control can not be selected at design time
|
||||
csOwnedChildsNotSelectable // child controls owned by this control are NOT selectable in the designer
|
||||
csOwnedChildrenNotSelectable // child controls owned by this control are NOT selectable in the designer
|
||||
);
|
||||
TControlStyle = set of TControlStyleType;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user