PositionToCenter procedure
procedure PositionToCenter(Const Form: TForm);
Unit
TeePenDlg
Description
Changes the Form parameter Left and Top properties to the center of the screen or the center of the Form Owner depending if the Form Position property is poOwnerFormCenter.