Center a form Short, Simple, and Sweet
This code allows you to quickly center a form within the screen without eating up alot of cpu time.
Side Effects
none. The form gets centered.
API Declarations
Rate Center a form Short, Simple, and Sweet
(4(4 Vote))
sub form_load()
me.left = (screen.width / 2) - (me.width / 2)
me.top = (screen.height / 2) - (me.height / 2)
end sub
Center a form Short, Simple, and Sweet Comments
No comments yet — be the first to post one!
Post a Comment