mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:19:22 +02:00
Changes the confusing constant name for navFocusableButtons
git-svn-id: trunk@31877 -
This commit is contained in:
parent
2f092a33ad
commit
41fbd0d144
@ -1103,7 +1103,7 @@ type
|
|||||||
TDBNavButtonSet = set of TDBNavButtonType;
|
TDBNavButtonSet = set of TDBNavButtonType;
|
||||||
TDBNavButtonStyle = set of (nsAllowTimer, nsFocusRect);
|
TDBNavButtonStyle = set of (nsAllowTimer, nsFocusRect);
|
||||||
TDBNavButtonDirection = (nbdHorizontal,nbdVertical);
|
TDBNavButtonDirection = (nbdHorizontal,nbdVertical);
|
||||||
TDBNavigatorOption = (noFocusableButtons);
|
TDBNavigatorOption = (navFocusableButtons);
|
||||||
TDBNavigatorOptions = set of TDBNavigatorOption;
|
TDBNavigatorOptions = set of TDBNavigatorOption;
|
||||||
|
|
||||||
// for Delphi compatibility
|
// for Delphi compatibility
|
||||||
|
@ -270,7 +270,7 @@ begin
|
|||||||
CurButton.Flat:=Flat;
|
CurButton.Flat:=Flat;
|
||||||
CurButton.Index:=CurButtonType;
|
CurButton.Index:=CurButtonType;
|
||||||
CurButton.Visible:=CurButtonType in FVisibleButtons;
|
CurButton.Visible:=CurButtonType in FVisibleButtons;
|
||||||
if not (noFocusableButtons in FOptions) then CurButton.Parent := Self
|
if not (navFocusableButtons in FOptions) then CurButton.Parent := Self
|
||||||
else CurButton.Parent := nil;
|
else CurButton.Parent := nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -297,7 +297,7 @@ begin
|
|||||||
// update button properties
|
// update button properties
|
||||||
CurFocusableButton.Index:=CurButtonType;
|
CurFocusableButton.Index:=CurButtonType;
|
||||||
CurFocusableButton.Visible:=CurButtonType in FVisibleButtons;
|
CurFocusableButton.Visible:=CurButtonType in FVisibleButtons;
|
||||||
if (noFocusableButtons in FOptions) then CurFocusableButton.Parent := Self
|
if (navFocusableButtons in FOptions) then CurFocusableButton.Parent := Self
|
||||||
else CurFocusableButton.Parent := nil;
|
else CurFocusableButton.Parent := nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user