mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:39:36 +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;
|
||||
TDBNavButtonStyle = set of (nsAllowTimer, nsFocusRect);
|
||||
TDBNavButtonDirection = (nbdHorizontal,nbdVertical);
|
||||
TDBNavigatorOption = (noFocusableButtons);
|
||||
TDBNavigatorOption = (navFocusableButtons);
|
||||
TDBNavigatorOptions = set of TDBNavigatorOption;
|
||||
|
||||
// for Delphi compatibility
|
||||
|
@ -270,7 +270,7 @@ begin
|
||||
CurButton.Flat:=Flat;
|
||||
CurButton.Index:=CurButtonType;
|
||||
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;
|
||||
end;
|
||||
|
||||
@ -297,7 +297,7 @@ begin
|
||||
// update button properties
|
||||
CurFocusableButton.Index:=CurButtonType;
|
||||
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;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user