form1.frm

来自「Check1(0).Caption = "香皂" Check1(1).Capti」· FRM 代码 · 共 48 行

FRM
48
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5685
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6690
   LinkTopic       =   "Form1"
   ScaleHeight     =   5685
   ScaleWidth      =   6690
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Interval        =   1
      Left            =   2280
      Top             =   4320
   End
   Begin VB.Image p 
      Height          =   240
      Left            =   3600
      Picture         =   "Form1.frx":0000
      Top             =   1200
      Width           =   240
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim fx As Integer

Private Sub Image1_Click()

End Sub

Private Sub Timer1_Timer()
Select Case p.Top
     Case p.Top > Form1.Top
        fx = 1
     Case p.Top < Form1.Height - p.Height - 250
        fx = 2
     Case p.Left < Form1.Left
        fx = 3
     Case p.Left < Form1.Width - p.Width - 240
        fx = 4

End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?