Jump to content

"poScreenCenter" doesn't update after resize


mhmda

Recommended Posts

Ok, I found it:-)

 

MonitorScreenResize=True

 

and

procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth,
 AHeight: Integer);
begin
 Left:=(AWidth-Width) div 2;
 Top:=(AHeight-Height) div 2;
end;

 

Good day to ALL :D

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...