简体   繁体   English

FireMonkey 对话框未全屏

[英]FireMonkey Dialog Not Full Screen

I am writing a progress dialog in C++ Builder 10.4 with FireMonkey.我正在使用 FireMonkey 在 C++ Builder 10.4 中编写进度对话框。

I want the dialog to be centered in the selected screen.我希望对话框位于所选屏幕的中心。

In Windows 32/64, my dialog shows / works fine using the ShowModal() using anonymous functions.在 Windows 32/64 中,我的对话框使用 ShowModal() 使用匿名函数显示/工作正常。

The problem is in Android my progress dialog shows in full screen no matter what I set the Bounds to.问题出在 Android 中,无论我将边界设置为什么,我的进度对话框都会全屏显示。

Is there a flag in the Android Manifest I need to set or is there a simple method to keep my code common to all platforms?我需要设置的 Android 清单中是否有一个标志,或者是否有一种简单的方法可以使我的代码在所有平台上通用?

Thanks,谢谢,

I decided to write a mobile version of my progress dialog using a technique of another programmer;我决定使用另一个程序员的技术编写我的进度对话框的移动版本; that is, I take a screen shot of the calling (parent) form, display it on my progress form's background, and use a panel for my actual progress dialog controls.也就是说,我拍摄了调用(父)表单的屏幕截图,将其显示在我的进度表单的背景上,并为我的实际进度对话框控件使用面板。

Hope that rambling makes sense and helps someone else.希望漫无边际是有意义的,并帮助别人。

All the best,一切顺利,

Aggie85阿吉85

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM