实例文件下载 Private Sub cmd否_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Dim N As Integer N = Me.cmd否.Top If N > 7000 Then Me.cmd否.Top = 1245 Me.cmd是.Top = 1245 Me.lab提问.Top = 1245 - 500 MsgBox "这就没意思了!", vbCritical, "情人小语" End End If Me.cmd否.Top = N + 100 Me.cmd是.Top = N + 100 Me.lab提问.Top = N - 500 End Sub Private Sub cmd是_Click() MsgBox "我也爱你!" + vbNewLine + "晕倒……", vbInformation, "情人小语" End Sub Private Sub Form_Load() Dim I, J As Integer Access.SetOption "Show Status Bar", False DoCmd.RunCommand acCmdAppMaximize DoCmd.Maximize I = Me.WindowWidth J = Me.WindowHeight DoCmd.Restore DoCmd.MoveSize 0, 0, I, J Me.Picture = CurrentProject.Path & "\mm.jpg" End Sub |
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-5 10:08 , Processed in 0.102419 second(s), 23 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.