You've already forked lazarus-ccr
Fixed: TJDBGridControl Focus issues
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2734 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -5,6 +5,7 @@ Note: Lazarus Trunk required
|
|||||||
|
|
||||||
Version pre-1.1
|
Version pre-1.1
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
2013-04-29 Fixed: TJDBGridControl Focus issues
|
||||||
2013-01-03 Added: TJDbEnumCombo, like TDbComboBox but, uses itemindex instead of text
|
2013-01-03 Added: TJDbEnumCombo, like TDbComboBox but, uses itemindex instead of text
|
||||||
2012-09-20 Added: TJLabeledIntegerEdit and TJLabeledFloatEdit property CurrentValue
|
2012-09-20 Added: TJLabeledIntegerEdit and TJLabeledFloatEdit property CurrentValue
|
||||||
2012-06-12 Fixed: TJDbGridTimeCtrl, store time value
|
2012-06-12 Fixed: TJDbGridTimeCtrl, store time value
|
||||||
|
@ -267,6 +267,7 @@ end;
|
|||||||
|
|
||||||
function TJDbGridStringCtrl.CanDefocus: boolean;
|
function TJDbGridStringCtrl.CanDefocus: boolean;
|
||||||
begin
|
begin
|
||||||
|
CellEditor.Visible := False;
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -458,7 +459,9 @@ begin
|
|||||||
else
|
else
|
||||||
Result := True;
|
Result := True;
|
||||||
if not Result then
|
if not Result then
|
||||||
ShowMessage(Format(SInvalidDateTime, [CellEditor.Text]));
|
ShowMessage(Format(SInvalidDateTime, [CellEditor.Text]))
|
||||||
|
else
|
||||||
|
CellEditor.Visible := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TJDbGridTimeCtrl }
|
{ TJDbGridTimeCtrl }
|
||||||
@ -646,7 +649,9 @@ begin
|
|||||||
else
|
else
|
||||||
Result := True;
|
Result := True;
|
||||||
if not Result then
|
if not Result then
|
||||||
ShowMessage(Format(SInvalidTime, [CellEditor.Text]));
|
ShowMessage(Format(SInvalidTime, [CellEditor.Text]))
|
||||||
|
else
|
||||||
|
CellEditor.Visible := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TJDbGridDateCtrl }
|
{ TJDbGridDateCtrl }
|
||||||
@ -835,7 +840,9 @@ begin
|
|||||||
else
|
else
|
||||||
Result := True;
|
Result := True;
|
||||||
if not Result then
|
if not Result then
|
||||||
ShowMessage(Format(SInvalidDate, [CellEditor.Text]));
|
ShowMessage(Format(SInvalidDate, [CellEditor.Text]))
|
||||||
|
else
|
||||||
|
CellEditor.Visible := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TJDbGridDoubleCtrl }
|
{ TJDbGridDoubleCtrl }
|
||||||
@ -991,7 +998,9 @@ begin
|
|||||||
else
|
else
|
||||||
Result := True;
|
Result := True;
|
||||||
if not Result then
|
if not Result then
|
||||||
ShowMessage(Format(SInvalidNumber, [CellEditor.Text]));
|
ShowMessage(Format(SInvalidNumber, [CellEditor.Text]))
|
||||||
|
else
|
||||||
|
CellEditor.Visible := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TJDbGridIntegerCtrl }
|
{ TJDbGridIntegerCtrl }
|
||||||
@ -1116,7 +1125,9 @@ begin
|
|||||||
else
|
else
|
||||||
Result := True;
|
Result := True;
|
||||||
if not Result then
|
if not Result then
|
||||||
ShowMessage(Format(SInvalidNumber, [CellEditor.Text]));
|
ShowMessage(Format(SInvalidNumber, [CellEditor.Text]))
|
||||||
|
else
|
||||||
|
CellEditor.Visible := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Reference in New Issue
Block a user