⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 自已写的一个财务输入控件(vb),和财务报表的格式是一样的<br>用友,金蝶的财务软件都有用这种风格的控件
💻 FRM
字号:
VERSION 5.00
Object = "{6152380E-F49A-4548-9DD8-BE55739832CB}#2.0#0"; "cMoney.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "关于"
      Height          =   495
      Left            =   3480
      TabIndex        =   13
      Top             =   2520
      Width           =   975
   End
   Begin VB.TextBox Text4 
      Height          =   375
      Left            =   960
      TabIndex        =   12
      Top             =   2760
      Width           =   975
   End
   Begin VB.TextBox Text3 
      Height          =   375
      Left            =   960
      TabIndex        =   11
      Top             =   1560
      Width           =   975
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   960
      TabIndex        =   10
      Text            =   "13"
      Top             =   1080
      Width           =   975
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   960
      TabIndex        =   9
      Text            =   "17"
      Top             =   600
      Width           =   975
   End
   Begin VB.Frame Frame1 
      Caption         =   "BORDERSTYLE"
      Height          =   615
      Left            =   120
      TabIndex        =   5
      Top             =   2040
      Width           =   2055
      Begin VB.OptionButton Option2 
         Caption         =   "1"
         Height          =   300
         Left            =   1200
         TabIndex        =   7
         Top             =   240
         Width           =   615
      End
      Begin VB.OptionButton Option1 
         Caption         =   "0"
         Height          =   255
         Left            =   240
         TabIndex        =   6
         Top             =   240
         Value           =   -1  'True
         Width           =   615
      End
   End
   Begin VB.CommandButton Command1 
      Caption         =   "展示"
      Height          =   495
      Left            =   2760
      TabIndex        =   1
      Top             =   840
      Width           =   1455
   End
   Begin cMoney.cMenoy cMenoy1 
      Height          =   375
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   2055
      _ExtentX        =   3625
      _ExtentY        =   661
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      Caption         =   "VALUE"
      Height          =   180
      Left            =   120
      TabIndex        =   8
      Top             =   2880
      Width           =   450
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      Caption         =   "CURCOL"
      Height          =   180
      Left            =   120
      TabIndex        =   4
      Top             =   1680
      Width           =   540
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "COLWIDTH"
      Height          =   180
      Left            =   120
      TabIndex        =   3
      Top             =   1200
      Width           =   720
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "COLS"
      Height          =   180
      Left            =   120
      TabIndex        =   2
      Top             =   720
      Width           =   360
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
With cMenoy1
.Cols = Text1
.ColWidth = Text2
Text3 = .CurCol
Text4 = .Value
End With
End Sub

Private Sub Command2_Click()
cMenoy1.about
End Sub

Private Sub Option1_Click()
If Option1.Value Then cMenoy1.BorderStyle = 0
End Sub

Private Sub Option2_Click()
If Option2.Value Then cMenoy1.BorderStyle = 1
End Sub

⌨️ 快捷键说明

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