ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦óÅý·Æ¹«²¾¤Jªº§PÂ_¥u§PÂ_¤@¦¸~·í¦³§ïÅÜ®É~¦A§ïÅÜ!?

[µo°Ý] ¦p¦óÅý·Æ¹«²¾¤Jªº§PÂ_¥u§PÂ_¤@¦¸~·í¦³§ïÅÜ®É~¦A§ïÅÜ!?

Private Sub Userform1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Image1.Picture = LoadPicture("")   


Private Sub CheckBox1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Image1.Picture = LoadPicture("")   
Image1.Picture = LoadPicture(ThisWorkbook.Path & "\¹Ï®w\³W®æ1.JPG")


¥Ñ©ó¨C·í·Æ¹«²¾°Ê¨ìªº¨C¤@¦¸~Image1·|¤@ª½°{Ã{~¬O§_¦³¿ìªkÅý¥L¥u§PÂ_¤@¦¸?·í¦³§ïÅÜ®É~¦A¦¸§PÂ_~¦A¦¸§ïÅÜ!
1

µû¤À¤H¼Æ

    • GBKEE: §A¦³³\ªº¥DÃD¬O¥i¥H¦b­ìªº¥DÃDÄ~Äòµo°Ý,¬O ...ª÷¿ú -2

¦^´_ 14# av8d


    ¤p§Ì¦³­Ó·Qªk...
¤j¤j±z¬O§_¸Õ¥Î  list ªí³æ¦C¥X Àɮ׼ƶq  ¦AÂI¿ï¤ñ¸û¤è«K?

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 4# Hsieh


    ¤j¤j~¦pªG
checkbo71~80Åã¥Ü Image1~10
checkbo101~110Åã¥Ü Image11~20

§Ú­×§ï¤FSªºªì©l­È~¥i¬OµL®Ä~¬O¤£¬O­×§ï¿ù»~¤F?

¦]¬°§Ú¦³¦h­ÓUserForm~¤S¸Ó¦p¦ó¨Ï¥Î?ÁÂÁ¤j¤j!

TOP

¥Ñ©ó¨C·í·Æ¹«²¾°Ê¨ìªº¨C¤@¦¸~Image1·|¤@ª½°{Ã{~¬O§_¦³¿ìªkÅý¥L¥u§PÂ_¤@¦¸?·í¦³§ïÅÜ®É~¦A¦¸§PÂ_~¦A¦¸§ïÅÜ!,  ...
av8d µoªí©ó 2012-9-11 13:53

§Ú¤j·§ª¾¹D§A¬O¦b»¡¤°»ò.

·|°{Ã{¬O¦]¬°§A±Ä¥Î yangjie ªº
Image1.Picture = LoadPicture("")   
Image1.Picture = LoadPicture(ThisWorkbook.Path & "\¹Ï®w\³W®æ1.JPG")
µ{¦¡,
¦Ó«D Hsieh ©Ò´£¨Ñªº
UserForm
¥Î Image1.Picture = LoadPicture("")

Class ¥Î
Img = ThisWorkbook.Path & "\" & MyCheck.Caption & ".jpg"
UserForm1.Image1.Picture = LoadPicture(Img)
µ{¦¡.

¦]¬° MouseMove ¹ê»Ú¤W¬O´X¥GÀH®É³£¦bIJµo,(¦b MouseMove µ{¦¡¤¤³]¤¤Â_ÂI´N¥i½T»{,§Y«K¤£¾Þ§@·Æ¹«³£¥i¯à¦³Ä²µo->®à¤l¾_°Ê©Î¬O¥ú¾Ç·Æ¹«¿ëÃÑ»~®t...)
©Ò¥H¥Î yangjie ªºµ{¦¡·|¤@ª½¦b²M°£-­«µe-²M°£... (§Y§A»¡ªº°{Ã{)
¦Ó Hsieh ªºµ{¦¡«h¬O·Æ¹«²¾¨ì UserForm ¤W®É¤~²M°£, (¦b Class ¤W«h¬O¤@ª½¦b¬Û¦P¦ì¸m¤Wµe¬Û¦Pªº¹Ï§Î, ·Pı¤W¬Oµe­±¨S¦³ÅܤÆ)
©Ò¥H¤£·|¦³°{Ã{ªº±¡§Î.

¦Ü©ó§A»¡ªº "¥u§PÂ_¤@¦¸" «h¥i¯à­n§ó§C¶¥ªº VB µ{¦¡½X¤~¦³¥i¯à°µ¨ì,
Excel Vba ²{¦¨´£¨Ñªº¨Æ¥ó¤¤,
¨S¬Ý¨ìÃþ¦ü Leave ¤§Ãþªº¨Æ¥ó¥i¥H²£¥Í³æ¦¸Ä²µo°Ê§@.

TOP

¦^´_ 10# av8d
¤£À´§A©Ò»¡ªº°{Ã{¡A¤W¶ÇÀɮ׬ݬݧa
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2012-9-11 15:19 ½s¿è
Private Sub Userform1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single,  ...
av8d µoªí©ó 2012-9-11 13:53



    MouseMove ¬O ²¾°Ê ´Nµø¬°¦³§ïÅÜ
    ¤£ª¾¹D±z©Ò¿×ªº ¦³§ïÅܬO«ü?
     1.¹ÏÀɤ£¦P(ÀÉ®× ÀɦW
     2.¹ï·Ó¼Æ¾Ú¤£¦P
     3¨Æ¥ó¤£¦P

¦pªG¥u¬O ³æ¤@ ÂIÀ» ¤~·|´«¹Ï
¨º¥i°Ñ¦Ò Click ¬ÛÃö¥Îªk

¦pªG¥u¬O ÂùÂIÀ» ¤~·|´«¹Ï
¨º¥i°Ñ¦ÒDobleClick ¬ÛÃö¥Îªk

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 8# av8d

·Æ¹«.rar (33.53 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 7# yangjie


    ¤j¤j~ÁÂÁ§A~

¥i¬O§Ú´ú¸Õ¤F¤@¤U
         Private Sub Userform1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
                  Image1.Picture = LoadPicture("")   
        end sub
¦n¹³¨S¦³®ÄªG~§Ú½T©w¬O¦bUserform1©³¤U¹B¦æ~

TOP

¦^´_ 6# Hsieh
º}«G
H¤j¤jªº"¦Óªí³æ»Pª«¥óªºMOUSEMOVE¨Æ¥ó¤£·|¦P®É¦s¦b
                  ´N¥i¨Ì¦¹°µ¬°¬O§_IJ¤Îª«¥óªº°Ñ¦Ò
"
Åý§Ú·Q¨ì¦p¦¹§@ªk
         Private Sub Userform1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
                  Image1.Picture = LoadPicture("")   
        end sub
        Private Sub CheckBox1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
                  Image1.Picture = LoadPicture("")   
                  Image1.Picture = LoadPicture(ThisWorkbook.Path & "\¹Ï®w\³W®æ1.JPG")
         end sub
         Private Sub CheckBox2_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
                 Image1.Picture = LoadPicture("")   
                 Image1.Picture = LoadPicture(ThisWorkbook.Path & "\¹Ï®w\³W®æ2.JPG")
        end sub
  §Y¥i¤@Â÷¶}CheckBox1ªº½d³ò §Y¨è ¨ø¸ü¹Ï§Î

TOP

¦^´_ 5# av8d

³o­Óªº­«ÂI¦b©ó¦p¦óÅý·Æ¹«¦³Ãþ¦ü·Æ¥Xªº¨Æ¥ó
¦]¬°ªí³æ¤Îªí³æª«¥ó¥u¦³MOUSEMOVE¨Æ¥ó
¦Óªí³æ»Pª«¥óªºMOUSEMOVE¨Æ¥ó¤£·|¦P®É¦s¦b
´N¥i¨Ì¦¹°µ¬°¬O§_IJ¤Îª«¥óªº°Ñ¦Ò
¦Ü©ó§A¥u¬Ý¨ìImage2
¨º¬O2­ÓImageª«¥ó­«Å|¦Ó¤w
¤§©Ò¥H­nª½±µ§G¸m¦h­ÓImageª«¥ó¡A³o¼Ë¥iÁקK¹ÏÀÉ¥²¶·±aµÛ¨«ªº°ÝÃD
¦pªG§A¤£¤¶·N§â¹ÏÀÉ¥²»Ý¸òµÛÀɮסA´N¥i°Ñ¦Ò2#ªº§@ªk
¨Ï¥Î³æ¤@­ÓImageª«¥ó¡AµM«á¥ÎLoadPicture¨ÓÅܧó¹Ï¤ù
Á`¤§¡A¤èªk¤£¥u¤@­Ó¡A¦Û¤v°Ê°Ê¸£·|¦³§ó¦h¦¬Ã¬
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¨ü¤HÂI¤ô¤§®¦¡A¶··í´é¬u¥H³ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD