Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the active element on the form.
#11
You can try something like this in your IWedit OnHTMLtag for numeric keyboard in Mobile:
Code:
procedure TIWF_Menu.IWEdit1HTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
   ATag.AddStringParam('inputmode', 'decimal');
   ATag.AddStringParam('pattern', '[0-9]*');
   ATag.AddStringParam('autocorrect', 'off');
end;
No tested, but I think if you correct define DataType = stTel or DataType = stEmail, etc, mobile keyboard showed based on DataType you choose.
Reply


Messages In This Thread
RE: How to change the active element on the form. - by Jose Nilton Pace - 07-28-2021, 05:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)