O(¡É_¡É)O~£¬²»ÖªµÀVBÄܲ»ÄÜʵÏÖÕâÑùµÄ¹¦ÄÜÄØ£¬¾ÍÊÇÆô¶¯³ÌÐò£¬³ÌÐò×îС»¯ºó£¬µ±µã»÷Ò»´ÎÊó±ê£¬Êó±êÖ¸Õë¾ÍÓÉÆÁÄ»ÖÐÐÄλÖÃ×Ô¶¯Ï»¬£¬ËÉ¿ª¼´¿ÉÍ£Ö¹£¬Ï»¬ËٶȵÄXºÍYÖáÓɼüÅ̵Ä+ºÍ-À´¿ØÖÆ¡£²»ÖªµÀÓÐûÓÐÈ˻شð£¬Ö»ºÃ±§×ÅÊÔÊÔ¿´µÄÐÄÇéÀ´ÎÊÎÊÁË¡£ лл´ó¼Ò¡£Ã»ÓзÖÁË£¬»¹Íû´ó¼Ò²»Òª½éÒâŶ¡£¡£¡£ÓÃAPI SetCursorPos ÉèÖÃÊó±êÖ¸ÕëµÄλÖà Option Explicit Private Type POINTAPI '¶¨Òåµã(Point)½á¹¹ X As Long 'µãÔÚX×ø±ê(ºá×ø±ê)ÉϵÄ×ø±êÖµ Y As Long 'µãÔÚY×ø±ê(×Ý×ø±ê)ÉϵÄ×ø±êÖµ End Type ' Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long Private Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
Private Sub Command1_Click() Dim l As Long Dim MyPointapi As POINTAPI l = GetCursorPos(MyPointapi) SetCursorPos MyPointapi.X, MyPointapi.Y + 100 End Sub
Private Sub Form_Load() recs = Adodc1.Recordset.RecordCount 'Çóµ±Ç°¼Ç¼Êý If recs > 0 Then 'ÒÑÓп¼Éú Adodc1.Recordset.MoveLast 'ÒÆµ½×îºóÒ»Ìõ¼Ç¼ num = V ......