delphi xe 横屏竖屏的管理


本文整理自网络,侵删。

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

相关阅读 >>

Delphi 获取cpu占用时间

java2op.exe,Delphi安卓原生桥接文件生成器

Delphi下获取系统默认的useragent的方法

Delphi 实现延时自动关闭对话框

winapi 字符及字符串函数(12): lstrlen - 串长度

Delphi 获取鼠标与键盘空闲时间

Delphi 精要-读书笔记(内存分配释放)

Delphi 读取流 image1 stream 加载到image2 timage 对象

Delphi程序只允许运行一个实例的三种方法

Delphi重写一个字符串分割函数

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



打赏

取消

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

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

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

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

评论

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