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

📄 frmggh.frm

📁 采用VB+SQL编写的房屋销售管理系统,
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmggh 
   Caption         =   "公告回复"
   ClientHeight    =   4575
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8130
   LinkTopic       =   "Form1"
   ScaleHeight     =   4575
   ScaleWidth      =   8130
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "退出系统"
      Height          =   495
      Left            =   4440
      TabIndex        =   5
      Top             =   3600
      Width           =   1815
   End
   Begin VB.CommandButton Command1 
      Caption         =   "回复"
      Height          =   495
      Left            =   1800
      TabIndex        =   4
      Top             =   3600
      Width           =   2055
   End
   Begin VB.TextBox Text2 
      Height          =   2175
      Left            =   1320
      TabIndex        =   2
      Top             =   1080
      Width           =   6615
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   1320
      TabIndex        =   0
      Top             =   240
      Width           =   5655
   End
   Begin VB.Label Label2 
      Caption         =   "回复内容:"
      Height          =   495
      Left            =   120
      TabIndex        =   3
      Top             =   1080
      Width           =   1095
   End
   Begin VB.Label Label1 
      Caption         =   "回复主题:"
      Height          =   375
      Left            =   120
      TabIndex        =   1
      Top             =   240
      Width           =   1095
   End
End
Attribute VB_Name = "frmggh"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim a As String
a = Date

Dim strsql As String
strsql = "insert into 交流公告(发布者,标题,日期,消息,did) values ('" & Loginname & "','" & Text1.Text & "','" & a & "','" & Text2.Text & "',0)"
If exsql(strsql) Then
   MsgBox "发布成功"
   Text1.SetFocus
Call frmgg.aaa

   Text1.Text = ""
   Text2.Text = ""
   
      Else
   MsgBox "发布失败"
   
End If
End Sub

Private Sub Command2_Click()
Unload Me

End Sub

Sub aa()
Text1.Text = frmgg.HFGrid.TextMatrix(frmgg.HFGrid.Row, 2)
End Sub

Private Sub Form_Load()
Call aa

End Sub

⌨️ 快捷键说明

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