在PB中如何實現數據模糊查詢(四)
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語法。
注釋:(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!
0條評論