数据窗体中 鼠标点击时选中一行,如何设置
鼠标点击时只能选中一个单元格 如何设置能选中一行呢,谢谢啦 技术问题
[解决办法]
dw.clicked():
if row<>this.getrow() then
This.ScrollToRow(row)
this.setrow( row)
end if
[解决办法]
//clicked event :
selectrow(0,false)
selectrow(row,true)
/**************/
dwcontrol.SelectRow ( number row, boolean select )
ArgumentDescription
dwcontrolA reference to a DataWindow control, DataStore, or child DataWindow.
rowA value identifying the row you want to select or deselect. Specify 0 to select or deselect all rows.
selectA boolean value that determines whether the row is selected or not selected:?True - Select the row(s) so that they are highlighted.?False - Deselect the row(s) so that they are not highlighted.