thx mas Tatu :P
ide aja, u. menghemat penggunaan kode, dari pada menuliskan kode tadi
disetiap event nya masing2 textbox, akan lebih praktis kalau
textboxnya dibuat sebagai control array, jadi kode ini cukup ditulis
satu kali saja.
selain itu, pengecekan tabindexnya juga lebih gampang, karena tinggal
disesuaikan dengan indexnya control array.
best regards.
[wwn]
just sharing my idea.
On 8/15/05, Tatu Inderawan <[EMAIL PROTECTED]> wrote:
> Sedikit nambahin Mas Purwedi, aku kirim codenya :
>
> ----------------------------
> Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
>
> Select Case KeyCode
> Case vbKeyDown 'panah bawah
> SendKeys "{Tab}" 'buat tab maju
> Case vbKeyUp 'panah atas
> SendKeys "+{Tab}" 'buat tab mundur
> End Select
>
> End Sub
> -----------------------------
>
> tapi inget urutan tab index nya disetting yg bener..
> semoga berhasil...
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] Behalf Of Purwedi Kurniawan
> Sent: 15 Agustus 2005 11:01
> To: [email protected]
> Subject: Re: [Programmer-VB] Pindah kursor
>
>
> logikanya gini, (sorry, logikanya aja, soalnya dikantor aku ga pake
> vb6, paling cuman pake vbscript :( )
>
> # pastikan urutan tabindex masing2 textboxnya udah benar
> # trap event keypress, kalo key yg dipress adalah kursor bawah
> (vbkeydown), kirimkan perintah tab, gunakan fungsi sendkey {tab}
>
> semoga ga salah :P (cmmiw)
>
> best regards
> wawan.
>
> On 8/15/05, Didi Cendana <[EMAIL PROTECTED]> wrote:
> >
> >
> > D/h.
> >
> >
> >
> > Bagaimana command untuk memindahkan kursor ke textbox yang lain hanya dengan
> > menenkan tombol tanda panah ke bawah?
> >
> > Terima kasih.
> >
> >
> >
> > Salam,
> >
> > Didi
> >
>
>
>
> Untuk keluar dari millis ini, kirim email kosong ke:
> [EMAIL PROTECTED]
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
> Untuk keluar dari millis ini, kirim email kosong ke:
> [EMAIL PROTECTED]
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hsc6lev/M=362131.6882499.7825260.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1124092666/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmer-VB/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/