KeyDown feuert bei Tab im FMX nicht.
Ich habe aber auch noch nicht gefunden, wo das vorher abgefangen wird.
Delphi-Quellcode:
procedure TssCellEdit.KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState);
begin
// CodeSite.Send(IntToStr(Byte(KeyChar)) + ' ' + IntToStr(Key) + ' ' + IntToStr(Integer(ssShift)));
if ((Key = 13) or (Key = 27)) and (KeyChar = #0) and (Shift = []) then
SelectParentCell(Self, True)
else if (KeyChar = #0) and (Shift = []) then
begin
case Key of
33: // PageUp
if (CustomItemsBox <> nil) then
begin
CustomItemsBox.ShouldFocused := True;
CustomItemsBox.MoveFocusPageUp;
end
else
inherited;
34: // PageDown
if (CustomItemsBox <> nil) then
begin
CustomItemsBox.ShouldFocused := True;
CustomItemsBox.MoveFocusPageDown;
end
else
inherited;
...