DelphiXE7实现FiremonkeyTEdit切换不同KeyboardType样式
作者:觴儿_996 | 来源:互联网 | 2023-05-22 16:46
转载地址:http:www.cnblogs.comonechenp4207689.html转载地址:介绍本文章介绍了D
转载地址: |
http://www.cnblogs.com/onechen/p/4207689.html |
转载地址:介绍 本文章介绍了Delphi XE7实现Firemonkey TEdit 切换不同 KeyboardType 样式,下面是具体的代码,很简单
- procedure TForm1.Button1Click(Sender: TObject);
- begin
- Edit1.KeyboardType := TVirtualkeyboardType.Default;
- Edit1.SetFocus;
- end;
- procedure TForm1.Button2Click(Sender: TObject);
- begin
- Edit1.KeyboardType := TVirtualkeyboardType.NumberPad;
- Edit1.SetFocus;
- end;
|
转载请保留当前帖子的链接:http://www.dfwlt.com/forum.php?mod=viewthread&tid=1724 谢谢!