TDateEdit: SelectNext doesn't work
Original Reporter info from Mantis: stephanie
-
Reporter name: Stephanie
Original Reporter info from Mantis: stephanie
- Reporter name: Stephanie
Description:
Hello, it I use SelectNext in order to put the focus on the next control it doesn't work, the same if I use PerformTab, only ActiveControl works:
procedure TfrmPrimanota.DateEdit1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if (Key = 39{KeyArrowRight}) or (Key = 13{KeyInvio}) then begin
//Self.SelectNext (DateEdit1, True, True); //Doesn't work
//DateEdit1.PerformTab(True); //Doesn't work
Self.ActiveControl := DateEdit2; //Works correctly
Key := 0;
end;
end;
With the other controls (TEdit, TDbEdit, etc.) SelectNext works correctly, only with TDateEdit there is the problem.
Sorry for my bad english.
Best regards,
Stephanie
Mantis conversion info:
- Mantis ID: 32335
- OS: Linux
- OS Build: Debian testing
- Platform: AMD64
- Version: 1.8RC3