coba bantu ya..
gunakan modul ini aja..
bikin satu modul lalu isikan dengan :
Public Sub CenterForm(ByVal frmTarget As Object)
frmTarget.Move (Screen.Width - frmTarget.Width) / 2, _
(Screen.Height - frmTarget.Height) / 2
End Sub
frmTarget.Move (Screen.Width - frmTarget.Width) / 2, _
(Screen.Height - frmTarget.Height) / 2
End Sub
lalu di setiap form saat form_load nya tinnggal ketikkin code
centerform Me
sama aja kaya yang live devil kasi tau,cuma bedanya pengirim nya aja...
hehehehe
-aL-
LiveDeviL <[EMAIL PROTECTED]> wrote:
LiveDeviL <[EMAIL PROTECTED]> wrote:
coba gunakan cara ini
Dim a As New Form1 'Form1 adalah form anak dari MDIForm1
a.Left = (MDIForm1.Width - a.Width) / 2
a.Top = (MDIForm1.Height - a.Height) / 2
a.Show
semoga membantu...
regards,
LiveDeviL
On 12/29/05, e_lisnax9 <[EMAIL PROTECTED]> wrote:hai rekan milis....saya minta bantuannya :
1. bagaimana mengatur posisi form anak pada form MDI supaya letak form
anak berada ditengah2 sewaktu program dijalankan.sy sdh mengubah
properti moveeable pada form anak mnjd false tp hasilnya tetap sj.
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
SPONSORED LINKS
Programmer Indonesia Basic programming language Computer programming languages Programming languages Java programming language
YAHOO! GROUPS LINKS
- Visit your group "Programmer-VB" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
There's no teacher who can teach us anything new...
They just help us to remember the things we always knew...
Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
YAHOO! GROUPS LINKS
- Visit your group "Programmer-VB" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
