📄 scrsaver.frm
字号:
VERSION 5.00
Object = "*\A..\SOURCE\FAST2003.vbp"
Object = "*\A..\SOURCE\FAST2003.vbp"
Begin VB.Form frmScreenSaver
BorderStyle = 3 'Fixed Dialog
Caption = "ScreenSaver Config"
ClientHeight = 1575
ClientLeft = 45
ClientTop = 330
ClientWidth = 3930
Icon = "ScrSaver.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1575
ScaleWidth = 3930
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.TextBox txtStatus
BackColor = &H8000000F&
Height = 735
Left = 180
Locked = -1 'True
MultiLine = -1 'True
TabIndex = 2
Top = 180
Width = 3525
End
Begin VB.CommandButton cmdDeActivate
Caption = "&Disabled"
Height = 360
Left = 2505
TabIndex = 1
Top = 1125
Width = 1185
End
Begin VB.CommandButton cmdActivate
Caption = "&Enabled"
Height = 360
Left = 1215
TabIndex = 0
Top = 1125
Width = 1185
End
Begin FLWSystem.FWScreenSaver objScreenSaver
Left = 150
Top = 1020
_ExtentX = 820
_ExtentY = 820
End
End
Attribute VB_Name = "frmScreenSaver"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
Call GetStatus
End Sub
Private Sub cmdActivate_Click()
objScreenSaver.ScrSaverActive = FLWSystem.flwActivate
Call GetStatus
End Sub
Private Sub cmdDeActivate_Click()
objScreenSaver.ScrSaverActive = FLWSystem.flwDeactivate
Call GetStatus
End Sub
Private Sub GetStatus()
If objScreenSaver.ScrSaverActive Then
txtStatus = "Screen saver is activated"
Else
txtStatus = "Screen saver is deactivated"
End If
txtStatus = txtStatus & vbCrLf & "Time-out: " & _
objScreenSaver.ScrSaverTimeOut & " minutes"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -