Thisform.text1.Left = (thisform.width - Thisform.text1.width) /2
Thisform.text1.Top = (thisform.Height - Thisform.text1.Height) /2
>Is there a way to programatically do what the layout toolbar does? Example: center a text box on a form after the form is maxumized.
Dominican Republic, a Paradise in America