TwwEdit next control
How to automatically focus the next control when Tww Edit.text.length = Tww Edit.max length? On the Android platform.
Thanks.
-
I would handle this by sending a tab to the form.
procedure TValidationDemoForm.wwEdit3KeyUp(Sender: TObject; var Key: Word; var KeyChar: Char; Shift: TShiftState); var lkeychar: char; lkey: word; begin if length(TwwEdit(Sender).Text)>=TwwEdit(Sender).MaxLength then begin lkey:= 9; lkeychar:= #0; KeyDown(lkey, lkeychar, []); end; end;
Please sign in to leave a comment.
Comments
3 comments