安装 Update2 后 Delphi FireMonkey KeyboardType 错误
我刚刚安装了 Delphi XE2 的 Update 2,并重新构建并测试了我运行的一个 FireMonkey iOS 应用程序。在 Windows 上运行良好,因此我导出到 XCode 并重新构建并运行它。
它给出了运行时错误 .. 异常...ERead Error : .. EKey.KeyboardType: Unknown property
EKey
是一个 TEdit
控件,并且项目 .lfm
文件包含此数据 -
object EKey: TEdit
Position.Point = '(104,104)'
Width = 57.000000000000000000
Height = 22.000000000000000000
TabOrder = 7
KeyboardType = vktDefault
Password = False
end
我已在 Mac 上安装了新的 Firemonkey-iOS.dmg
软件包。还安装了新的 PAServer
但它的版本为 1.0.2,对我来说看起来没有变化......?
有人可以帮我解释一下吗?
谢谢!
这真是令人沮丧......
我再次阅读了安装说明,并在 Windows 上重新安装了 PAServer,在 Mac 上重新安装了 PAServer,在 Mac 上重新安装了 Firemonkey iOS 工具。在 Mac 上的 iPad 模拟器上运行应用程序时仍然收到相同的错误消息。我检查了文件上的日期,以确保我安装的是新软件而不是旧版本(文件的日期为 2011 年 9 月),并且安装按照本书进行。然而,我担心 Mac 上的 PAServer 说它是版本 1.0.2 - 与我记得的升级之前相同。任何人都可以对此进行任何说明... Mac(或 PC)上的 PAServer 或 iOS Firemonkey 工具有问题吗?版本 1.0.2 是 Mac 上正确的 PAServer 版本吗?
谢谢
I have just installed Update 2 for Delphi XE2 and rebuilt and tested one FireMonkey iOS application I run. Ran fine on Windows so I exported to XCode and rebuilt and ran it.
It gave a runtime error .. exception...ERead Error : .. EKey.KeyboardType: Unknown property
EKey
is a TEdit
control and the project .lfm
file has this data -
object EKey: TEdit
Position.Point = '(104,104)'
Width = 57.000000000000000000
Height = 22.000000000000000000
TabOrder = 7
KeyboardType = vktDefault
Password = False
end
I have installed the new Firemonkey-iOS.dmg
packages on the Mac. Also installed the new PAServer
but it comes up as version 1.0.2 which looks unchanged to me...?
Can anyone throw some light on this for me please?
Thanks!
This is powerfully frustrating....
I have read the installation instructions again and reperformed the installation of PAServer on Windows, PAServer on the Mac and the Firemonkey iOS tools on the Mac. Still get the same error message running the application on the iPad simulator on the Mac. I have checked the dates on files to make sure I am installing the new software and not the old version (files have dates of September 2011) and the installations went as per the book. However I am concerned that PAServer on the Mac says it is version 1.0.2 - the same as it was before the upgrade as I recall. Can anyone throw any light on this ... Is the problem with PAServer on the Mac (or on the PC), or the iOS Firemonkey tools, and is version 1.0.2 the correct PAServer version on the Mac?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也遇到了同样的问题...
问题是你已经更新了PC端的delphi,但是你还没有更新mac端。您需要更新FPC(和paserver)。
你的帖子显示你已经更新了,但是版本号是一样的。尝试重新安装或找出安装失败的原因...
仅供参考,键盘类型控制当您输入可编辑字段(例如 TEdit 或 TMemo)时弹出的虚拟键盘类型。 (默认值、数字等)
I had the same issue...
The problem is that you have updated delphi on the PC, but you haven't updated the mac side. You need to update FPC (and paserver).
Your post indicates that you have updated, but the version number is the same. Try reinstalling or finding out why the install failed...
FYI, the keyboard type controls what type of virtual keyboard is popped up when you enter an editiable field, such as a TEdit or TMemo. (default, numeric etc)