Home > Back-end > TForm Position attribute, poScreenCenter and poDesktopCenter difference?
TForm Position attribute, poScreenCenter and poDesktopCenter difference?
Time:12-31
PoScreenCenter The form remains The size you left it at design time, but is positioned in The center of The screen. In multi - monitor applications, The form may be version from this center position so that it falls entirely on one monitor, as specified by The DefaultMonitor property. PoDesktopCenter The form remains The size you left it at design time, but is positioned in The center of The screen. No adjustments are made for multi - monitor applications. Feeling a little vague, if have dual display, the size of the form if less than the resolution of a single display, the performance of both respectively?
CodePudding user response:
First of all, the window size is the size of the original design, PoScreenCenter=center screen, and display will be in the default monitor center;
PoDesktopCenter=desktop center, is the center for the desktop,
You do a DEMO of the actual watch will understand,