This code allows you to quickly center a form within the screen without eating up alot of cpu time.
Original Author: Scott Fitzhugh
Side Effects
none. The form gets centered.
API Declarations
Code
sub form_load()
me.left = (screen.width / 2) - (me.width / 2)
me.top = (screen.height / 2) - (me.height / 2)
end sub