mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 22:59:37 +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);
|
SetInitialBounds(0, 0, CX, CY);
|
||||||
end;
|
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;
|
function TCustomFloatSpinEditEx.GetLimitedValue(const AValue: Double): Double;
|
||||||
begin
|
begin
|
||||||
Result := AValue;
|
Result := AValue;
|
||||||
|
@ -144,6 +144,7 @@ type
|
|||||||
property MinRepeatValue: Byte read FMinRepeatValue write SetMinRepeatValue default 100;
|
property MinRepeatValue: Byte read FMinRepeatValue write SetMinRepeatValue default 100;
|
||||||
public
|
public
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
|
procedure GetTabOrderList(List: TFPList); override;
|
||||||
function GetLimitedValue(const AValue: Double): Double; virtual;
|
function GetLimitedValue(const AValue: Double): Double; virtual;
|
||||||
function ValueToStr(const AValue: Double): String; virtual;
|
function ValueToStr(const AValue: Double): String; virtual;
|
||||||
function StrToValue(const S: String): Double; virtual;
|
function StrToValue(const S: String): Double; virtual;
|
||||||
|
@ -1167,7 +1167,6 @@ begin
|
|||||||
FDirectInput := True;
|
FDirectInput := True;
|
||||||
FIsReadOnly := False;
|
FIsReadOnly := False;
|
||||||
TabStop := True;
|
TabStop := True;
|
||||||
inherited TabStop := False;
|
|
||||||
FocusOnBuddyClick := False;
|
FocusOnBuddyClick := False;
|
||||||
FSpacing := 0;
|
FSpacing := 0;
|
||||||
SetInitialBounds(0, 0, GetControlClassDefaultSize.CX, GetControlClassDefaultSize.CY);
|
SetInitialBounds(0, 0, GetControlClassDefaultSize.CX, GetControlClassDefaultSize.CY);
|
||||||
|
Loading…
Reference in New Issue
Block a user