delphi xe 横屏竖屏的管理


本文整理自网络,侵删。

 在FromShow事件上面或者FormCreate事件:
 Application.FormFactor.Orientations := [TFormOrientation.soLandscape, TFormOrientation.soInvertedLandscape];
横屏竖屏自动
Application.FormFactor.Orientations := [TFormOrientation.soLandscape];
只横屏
Application.FormFactor.Orientations := [TFormOrientation.soInvertedLandscape];
只竖屏

相关阅读 >>

关于Delphi xe2的fmx的一点点研究之消息篇

Delphi 单击android上的web浏览器链接以启动Delphi应用程序

Delphi 使用twebbrowser组件保存网页为html和mht文件

winapi 字符及字符串函数(13): lstrcmp、lstrcmpi - 对比串

Delphi adoquery filter使用

Delphi edit右键系统菜单加自定义菜单项

Delphi trestclient + trestrequest + trestresponse

Delphi stringgrid中回车换行

Delphi 下 vclzip控件的简单使用

Delphi 自动复制到指定目录的代码

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...