简体   繁体   English

使用Teechart时,Delphi Firemonkey移动应用程序将崩溃

[英]Delphi Firemonkey mobile app will crash when using Teechart

I am developing an application, I have a main form and a button, when I click on a button I show another form that there is a TeeChart on it, when I close the second form and return to the Main Form the will crash (both ios Device and Simulator) and in log console on mac there is a "Exit with code:1" log. 我正在开发一个应用程序,我有一个主窗体和一个按钮,当我单击一个按钮时,我会显示另一个窗体上有一个TeeChart,当我关闭第二个窗体并返回到主窗体时,将会崩溃(两者均会崩溃) ios设备和模拟器),并且在Mac上的日志控制台中,有一个“代码退出:1”日志。 I test it on an Android device but it works fine. 我在Android设备上对其进行了测试,但工作正常。 Any idea? 任何想法?

I found the problem, when you remove the graph form "Auto create forms" (in project options) and new the graph form in code and then close and free the graph form, the problem will happen, Instead let it be in "auto create forms" and when you want to show the graph use 我发现了问题,当您删除图形形式“自动创建形式”(在项目选项中)并在代码中新建图形形式,然后关闭并释放图形形式时,就会出现问题,而应该是在“自动创建”中表格”,以及当您想要显示图形时

frmgraph.show();
frmgraph.BringToFront();

and instead of closing the form use 而不是关闭表单使用

Hide();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何检测 Delphi Firemonkey 移动应用程序中 iOS 上的应用程序何时未从后台重新打开? - How to detect when app is not reopen from background on iOS in Delphi Firemonkey mobile app? 在Delphi Firemonkey移动应用程序中读写inifile? - Read and writing a inifile in a Delphi Firemonkey Mobile Application? 当前景中的应用程序出现时,Delphi / Firemonkey iOS知道何时显示本地通知 - Delphi/Firemonkey ios know when Local Notification is presented when App in Foreground 在 Delphi FireMonkey 应用程序中探索 iOS 文件 - Exploring iOS files in Delphi FireMonkey app 无法使用Delphi Firemonkey iOS应用在购买的应用中进行测试 - Unable to test in app purchase with delphi firemonkey iOS app iOS Firemonkey:如何通过Firemonkey Delphi XE7中的邮件应用程序从iOS应用程序发送电子邮件 - iOS Firemonkey: How to send email from iOS App though mail app in Firemonkey Delphi XE7 使用UIAlertController时应用崩溃 - App crash when using UIAlertController Delphi FireMonkey iOS应用程序:部署到iPhone Simulator 8.1时出错 - Delphi FireMonkey iOS App: Error while Deploying to iPhone Simulator 8.1 如何在Delphi-XE5 Firemonkey应用程序中关闭ios应用程序? - How to close ios app in Delphi-XE5 Firemonkey application? Delphi XE2 Firemonkey iOS应用程序控制兼容性 - Delphi XE2 Firemonkey iOS app controls compatibility
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM