rianto isaac's Weblog

rianto utomo isaac sahala utomo

vb, vb6 MDI child startup position

leave a comment »

To set the position of the subsequent mdichild forms, put this (or something similar) in their Form_Load or _Activate event

Me.Move 0, 0

 

to centre

[Highlight=VB]

Me.Move MdiForm1.Width/2 – Me.Width/2, MdiForm1.Height/2 – Me.Height/2

 

rianto utomo bole nyontek dari http://www.vbforums.com/showthread.php?208569-Startup-position-of-an-MDI-child

Written by isaaconi

September 23, 2014 pada 9:05 am

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: