saya tambahkan cara lain yang nomor 2:

Private Sub Text1_Click()
    Text1.SelStart=0
    Text1.SelLength=len(Text1.text)
    Text1.SetFocus
End Sub

zainal
----- Original Message -----
From: "A. Numairullah" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, July 30, 2005 11:51 AM
Subject: Re: [Programmer-VB] pict pada command butto.........


> 1. pake event :
> Private Sub Command1_MouseMove(Button As Integer,
> Shift As Integer, X As Single, Y As Single)
>   command1.Picture = <namapicture>
> End Sub
>
> 2. pake event :
> Private Sub Text1_Click()
>    SendKeys "{Home}+{End}"
> End Sub
>
> cmiiw
>
>
> --- h3ndr4sr <[EMAIL PROTECTED]> wrote:
>
> > rekan milis, ada yg bisa bantu masalah saya?
> > 1. gimana seh, cara merubah picture pada command
> > button
> > agar setiap kali kursor mouse mengenai command
> > button gambar dapat
> > berubah.
> > (mis: pict comm button pada awalnya mengambil file
> > di d:\image\1.jpg
> > pd saat
> > kursor berada di area comm button gmbr berubah
> > menjadi d:\image\2.jpg )
> >
> > 2. pada saat kita mengklik suatu textbox, bisak
> > nggak kalo text yg ada
> > disitu
> >    langsung ter-blok, sehingga saat kita menekan del
> > maka seluruh text
> > terhapus?
> > thanks before...
> >
> >
> >
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
>
>
> 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=12hka9qg4/M=362329.6886308.7839368.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1122954511/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