转载地址: |
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 谢谢!