在PB中如何实现数据模糊查询(四)
文章作者 100test 发表时间 2007:03:13 22:11:43
来源 100Test.Com百考试题网
5. StaticText: st_1属性:
X = 46 Y = 32 Width = 466 Height = 64
TabOrder = 0 Visible = true Text = "请输入查询条件: " TextColor = 0
BackColor = 80269524 Alignment = left! FillPattern = solid!
6. CommandButton: cb_exit属性:
X = 2578 Y = 376 Width = 256 Height = 108
TabOrder = 30 Visible = true Enabled = true Text = "&.F.返回"
Cancel = true
6.1 CommandButton: cb_exit的 clicked 事件:
功能:直接退出。
Close(parent)
7. CommandButton: cb_exec属性:
X = 2578 Y = 204 Width = 256 Height = 108
TabOrder = 20 Visible = true Enabled = true Text = "&.Z.执行"
Default = true
7.1 CommandButton: cb_exec的 clicked 事件:
功能:设置组和sql语法。
![](/soft/Files/2006-11/25/855561493.jpg)
注释:(1).n_cst_sql、n_cst_sqlattrib为PFC中用户对象,这里不再详述。
8. DataWindow: dw_column属性:
X = 2578 Y = 536 Width = 69 Height = 60
TabOrder = 10 Visible = true Enabled = true DataObject = "d_column_set"
Border = true LiveScroll = true BorderStyle = stylebox
9. DataWindow: dw_where属性:
X = 46 Y = 120 Width = 2459 Height = 448
TabOrder = 40 Visible = true Enabled = true DataObject = "d_where"
VScrollBar = true Border = true BorderStyle = stylelowered!