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

📄 frmqdusy.frm

📁 饮羽公路测设(glcs) 由20多个公路测量、设计、试验和施工组织设计等小软件组成。如《中桩大地坐标》可以计算不等长缓和曲线的中桩和边桩的大地坐标;《缓和曲线反算》可以根据切线长、外距长或缓和曲线长求
💻 FRM
字号:
VERSION 5.00
Object = "{D76D7130-4A96-11D3-BD95-D296DC2DD072}#1.0#0"; "VSFLEX7D.OCX"
Begin VB.Form frmqdusy 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "水泥砼强度试验评定"
   ClientHeight    =   5130
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7650
   Icon            =   "frmqdusy.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5130
   ScaleWidth      =   7650
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame2 
      Caption         =   "其他数据"
      Height          =   735
      Left            =   120
      TabIndex        =   8
      Top             =   1320
      Width           =   7455
      Begin VB.TextBox Text4 
         Height          =   270
         Left            =   4800
         TabIndex        =   16
         Text            =   "Text4"
         Top             =   320
         Width           =   735
      End
      Begin VB.TextBox Text3 
         Height          =   270
         Left            =   3000
         TabIndex        =   15
         Text            =   "Text3"
         Top             =   320
         Width           =   735
      End
      Begin VB.TextBox Text2 
         Height          =   270
         Left            =   1320
         TabIndex        =   14
         Text            =   "Text2"
         Top             =   320
         Width           =   735
      End
      Begin VB.TextBox Text1 
         Alignment       =   2  'Center
         Height          =   270
         Left            =   6600
         TabIndex        =   9
         Text            =   "Text1"
         Top             =   320
         Width           =   735
      End
      Begin VB.Label Label4 
         Caption         =   "宽度(cm)="
         Height          =   255
         Left            =   3960
         TabIndex        =   13
         Top             =   360
         Width           =   1095
      End
      Begin VB.Label Label3 
         Caption         =   "高度(cm)="
         Height          =   255
         Left            =   2160
         TabIndex        =   12
         Top             =   360
         Width           =   975
      End
      Begin VB.Label Label2 
         Caption         =   "试件长度(cm)="
         Height          =   255
         Left            =   120
         TabIndex        =   11
         Top             =   360
         Width           =   1335
      End
      Begin VB.Label Label1 
         Caption         =   "评定组数="
         Height          =   255
         Left            =   5760
         TabIndex        =   10
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.CommandButton Command2 
      Caption         =   "关闭"
      Height          =   375
      Left            =   6600
      TabIndex        =   6
      Top             =   4680
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "计算"
      Height          =   375
      Left            =   5640
      TabIndex        =   5
      Top             =   4680
      Width           =   975
   End
   Begin VB.Frame Frame3 
      Caption         =   "评定数据"
      Height          =   2415
      Left            =   120
      TabIndex        =   3
      Top             =   2160
      Width           =   7455
      Begin VSFlex7DAOCtl.VSFlexGrid VSFlexGrid1 
         Height          =   2055
         Left            =   120
         TabIndex        =   4
         Top             =   240
         Width           =   7215
         _cx             =   12726
         _cy             =   3625
         _ConvInfo       =   1
         Appearance      =   1
         BorderStyle     =   1
         Enabled         =   -1  'True
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         MousePointer    =   0
         BackColor       =   -2147483643
         ForeColor       =   -2147483640
         BackColorFixed  =   -2147483633
         ForeColorFixed  =   -2147483630
         BackColorSel    =   -2147483635
         ForeColorSel    =   -2147483634
         BackColorBkg    =   14737632
         BackColorAlternate=   -2147483643
         GridColor       =   -2147483633
         GridColorFixed  =   -2147483632
         TreeColor       =   -2147483632
         FloodColor      =   192
         SheetBorder     =   -2147483642
         FocusRect       =   3
         HighLight       =   1
         AllowSelection  =   -1  'True
         AllowBigSelection=   -1  'True
         AllowUserResizing=   3
         SelectionMode   =   0
         GridLines       =   1
         GridLinesFixed  =   2
         GridLineWidth   =   1
         Rows            =   3
         Cols            =   8
         FixedRows       =   1
         FixedCols       =   1
         RowHeightMin    =   0
         RowHeightMax    =   0
         ColWidthMin     =   0
         ColWidthMax     =   0
         ExtendLastCol   =   0   'False
         FormatString    =   ""
         ScrollTrack     =   0   'False
         ScrollBars      =   3
         ScrollTips      =   0   'False
         MergeCells      =   0
         MergeCompare    =   0
         AutoResize      =   -1  'True
         AutoSizeMode    =   0
         AutoSearch      =   0
         AutoSearchDelay =   2
         MultiTotals     =   -1  'True
         SubtotalPosition=   1
         OutlineBar      =   0
         OutlineCol      =   0
         Ellipsis        =   0
         ExplorerBar     =   0
         PicturesOver    =   0   'False
         FillStyle       =   0
         RightToLeft     =   0   'False
         PictureType     =   0
         TabBehavior     =   0
         OwnerDraw       =   0
         Editable        =   2
         ShowComboButton =   -1  'True
         WordWrap        =   0   'False
         TextStyle       =   0
         TextStyleFixed  =   0
         OleDragMode     =   0
         OleDropMode     =   0
         DataMode        =   0
         VirtualData     =   -1  'True
         ComboSearch     =   3
         AutoSizeMouse   =   -1  'True
         FrozenRows      =   0
         FrozenCols      =   0
         AllowUserFreezing=   3
         BackColorFrozen =   0
         ForeColorFrozen =   0
         WallPaperAlignment=   9
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "评定类型、组数"
      Height          =   1095
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   7455
      Begin VB.OptionButton Option3 
         Caption         =   "砂浆抗压强度"
         Height          =   255
         Left            =   240
         TabIndex        =   7
         Top             =   360
         Value           =   -1  'True
         Width           =   1935
      End
      Begin VB.OptionButton Option2 
         Caption         =   "混凝土抗折强度"
         Height          =   255
         Left            =   4800
         TabIndex        =   2
         Top             =   360
         Width           =   1575
      End
      Begin VB.OptionButton Option1 
         Caption         =   "混凝土抗压强度"
         Height          =   255
         Left            =   2400
         TabIndex        =   1
         Top             =   360
         Width           =   1695
      End
   End
End
Attribute VB_Name = "frmqdusy"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command2_Click()
'关闭

    On Error GoTo handlerror
    
    Unload Me
    End
    
    Exit Sub
handlerror:

End Sub

Private Sub Form_Load()
'启动窗体

    On Error GoTo handlerror
    
    Text1.Text = ""
    
    '表格初始化
    With VSFlexGrid1
        If Option1.Value = True Or Option2.Value = True Then
            .Cols = 5
            .TextMatrix(0, 0) = "组号"
            .TextMatrix(0, 1) = "试件1"
            .TextMatrix(0, 2) = "试件2"
            .TextMatrix(0, 3) = "试件3"
            .TextMatrix(0, 4) = "试验结果"
            .ColWidth(0) = 800
            .ColWidth(1) = 1300
            .ColWidth(2) = 1300
            .ColWidth(3) = 1300
            .ColWidth(4) = 1300
            Else
                .Cols = 8
                .TextMatrix(0, 0) = "组号"
                .TextMatrix(0, 1) = "试件1"
                .TextMatrix(0, 2) = "试件2"
                .TextMatrix(0, 3) = "试件3"
                .TextMatrix(0, 4) = "试件4"
                .TextMatrix(0, 5) = "试件5"
                .TextMatrix(0, 6) = "试件6"
                .TextMatrix(0, 7) = "试验结果"
                
                .ColWidth(0) = 750
                .ColWidth(1) = 750
                .ColWidth(2) = 750
                .ColWidth(3) = 750
                .ColWidth(4) = 750
                .ColWidth(5) = 750
                .ColWidth(6) = 750
                .ColWidth(7) = 850
        End If
        
        For i = 0 To .Cols - 1
            .ColAlignment(i) = flexAlignCenterCenter
        Next i
    End With
    
    Exit Sub
handlerror:

End Sub

Private Sub Text1_Change()
'设置表格行数

    On Error GoTo handlerror

    If Val(Text1.Text) <> 0 Then
        VSFlexGrid1.Rows = Val(Text1.Text) + 1
        
        For i = 1 To VSFlexGrid1.Rows - 1
            VSFlexGrid1.TextMatrix(i, 0) = i
        Next i
    End If
    
    Exit Sub
    
handlerror:

End Sub

⌨️ 快捷键说明

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