Mega Code Archive

 
Categories / Delphi / VCL
 

Aligning maximized forms

Question: When I start my form maximized, it overlaps the task bar, and does not align with the top of the screen. How can I get around this? Answer: This can happen when the form's position is set to poScreenCenter. To get the proper results, set the form's position to poDefault in the object inspector.