Just info:

Instruksi sendkeys di VB ada bug, microsoft telah
mengeluarkan SP6 untuk hal tersebut. Bila anda tidak
mengunakan SP6, pada saat anda menekan tombol ke atas
dan ke bawah, lampu num-lock akan berkedip, bila
terlalu sering komputer akan hang.

terutama pada instruksi
sendkeys "{TAB}"

TK


--- 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
> 
> 
> 
>  
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12htpln1n/M=362329.6886308.7839368.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1124093970/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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/
 


Kirim email ke