mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-08 04:58:20 +02:00
LCL: Fixed TSpinEditEx Focus on Tab Click doesn't work. Issue #32601
git-svn-id: trunk@56162 -
This commit is contained in:
parent
f7a5ad2332
commit
f9cb151061
@ -368,6 +368,12 @@ begin
|
||||
SetInitialBounds(0, 0, CX, CY);
|
||||
end;
|
||||
|
||||
procedure TCustomFloatSpinEditEx.GetTabOrderList(List: TFPList);
|
||||
begin
|
||||
// just the TCustomEditButton as container should be tabable, see issue #32335
|
||||
// so no inherited adding of child controls
|
||||
end;
|
||||
|
||||
function TCustomFloatSpinEditEx.GetLimitedValue(const AValue: Double): Double;
|
||||
begin
|
||||
Result := AValue;
|
||||
|
@ -144,6 +144,7 @@ type
|
||||
property MinRepeatValue: Byte read FMinRepeatValue write SetMinRepeatValue default 100;
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
procedure GetTabOrderList(List: TFPList); override;
|
||||
function GetLimitedValue(const AValue: Double): Double; virtual;
|
||||
function ValueToStr(const AValue: Double): String; virtual;
|
||||
function StrToValue(const S: String): Double; virtual;
|
||||
|
@ -1167,7 +1167,6 @@ begin
|
||||
FDirectInput := True;
|
||||
FIsReadOnly := False;
|
||||
TabStop := True;
|
||||
inherited TabStop := False;
|
||||
FocusOnBuddyClick := False;
|
||||
FSpacing := 0;
|
||||
SetInitialBounds(0, 0, GetControlClassDefaultSize.CX, GetControlClassDefaultSize.CY);
|
||||
|
Loading…
Reference in New Issue
Block a user