📄 starfield.frm
字号:
VERSION 5.00
Object = "{75D4F767-8785-11D3-93AD-0000832EF44D}#2.3#0"; "FAST2001.ocx"
Begin VB.Form frmStarField
BorderStyle = 3 'Fixed Dialog
Caption = "StarField"
ClientHeight = 3060
ClientLeft = 45
ClientTop = 330
ClientWidth = 5100
Icon = "StarField.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3060
ScaleWidth = 5100
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin FLWCtrls.FWStarField FWStarField1
Height = 2475
Left = 0
TabIndex = 3
Top = 0
Width = 5145
_ExtentX = 9075
_ExtentY = 4366
End
Begin VB.CheckBox chkEnabled
Caption = "Enabled"
Height = 255
Left = 3960
TabIndex = 0
Top = 2700
Width = 1035
End
Begin VB.HScrollBar HScroll1
Height = 315
Left = 90
Max = 100
Min = 1
TabIndex = 1
Top = 2670
Value = 1
Width = 3375
End
Begin VB.Label lblSpeed
AutoSize = -1 'True
Caption = "Speed"
Height = 195
Left = 90
TabIndex = 2
Top = 2460
Width = 465
End
End
Attribute VB_Name = "frmStarField"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
HScroll1.Value = 10
chkEnabled.Value = vbChecked
End Sub
Private Sub HScroll1_Change()
FWStarField1.Speed = HScroll1.Value
End Sub
Private Sub chkEnabled_Click()
FWStarField1.Enabled = (chkEnabled.Value = vbChecked)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -