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

📄 frmxyset.frm

📁 回流焊监控系统-DCS,VB编写,对PLC进行通讯采集和控制,界面直观,操作方便,可以作为同类软件系统提供示范
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmXYSet 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "设置"
   ClientHeight    =   2130
   ClientLeft      =   2760
   ClientTop       =   3750
   ClientWidth     =   3315
   Icon            =   "frmXYSet.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2130
   ScaleWidth      =   3315
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.TextBox txtX 
      Height          =   375
      Left            =   1680
      TabIndex        =   5
      Text            =   "300"
      Top             =   840
      Width           =   1335
   End
   Begin VB.TextBox txtY 
      Height          =   375
      Left            =   1680
      TabIndex        =   4
      Text            =   "300"
      Top             =   240
      Width           =   1335
   End
   Begin VB.CommandButton CancelButton 
      Caption         =   "取消"
      Height          =   375
      Left            =   1800
      TabIndex        =   1
      Top             =   1560
      Width           =   1215
   End
   Begin VB.CommandButton OKButton 
      Caption         =   "确定"
      Height          =   375
      Left            =   240
      TabIndex        =   0
      Top             =   1560
      Width           =   1215
   End
   Begin VB.Label Label2 
      Caption         =   "时间轴:"
      Height          =   375
      Left            =   360
      TabIndex        =   3
      Top             =   960
      Width           =   975
   End
   Begin VB.Label Label1 
      Caption         =   "温度轴:"
      Height          =   375
      Left            =   360
      TabIndex        =   2
      Top             =   240
      Width           =   975
   End
End
Attribute VB_Name = "frmXYSet"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit

Private Sub CancelButton_Click()
Unload Me
End Sub

Private Sub Form_Activate()
SetDlgBackColor Me
txtX.Text = curvep.Xmax
txtY.Text = curvep.Ymax
End Sub

Private Sub OKButton_Click()
curvep.Xmax = Val(txtX.Text)
curvep.Ymax = Val(txtY.Text)
WritePrivateProfileString "Curve", "X", txtX.Text, iniFile
WritePrivateProfileString "Curve", "Y", txtY.Text, iniFile
Unload Me
End Sub

⌨️ 快捷键说明

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