動作環境
C++ Builder XE4
モニタ(二台)
Full HD(左) + WQHD(右)
複数のモニタを使った環境でのソフト動作(以下、マルチモニタとする)。
その時にプロパティposistionをどう設定するか。
実動作で確認してみた。
Full HD(左) + WQHD(右)にて実施。
- poDesktopCenter: モニタにわたって表示
- poScreenCenter: 一つのモニタの中央に表示
公式ドキュメント
-
Vcl.Forms.TPosition
- poScreenCenter
- The form remains the size you left it at design time, but is positioned in the center of the screen. Note that in multi-monitor applications, this may result in a form that does not fall entirely on one monitor.
- 英語力弱いので、does not fall entirely on one monitorの意味(と実動作との乖離)が分からない。。。
- 縦に長いフォームの場合、poScreenCenterで表示すると下側がはみ出る。does not fall entirely on one monitorとはそういうことだろうか?
- 具体的な画像例がないので、意味が分からない公式ヘルプ
- The form remains the size you left it at design time, but is positioned in the center of the screen. Note that in multi-monitor applications, this may result in a form that does not fall entirely on one monitor.
- poScreenCenter