With flexgrid1
If .MouseRow <> 0 Then Exit Sub If .ColSort(.Col) = flexSortGenericDescending Or .ColSort(.Col) = flexSortNone Then
.ColSort(.Col) = flexSortGenericAscending
Else
.ColSort(.Col) = flexSortGenericDescending
End If
.Sort = flexSortUseColSort End With请问,对于上面的代码中的.Sort = flexSortUseColSort 不太理解,上面已经对一个列进行了排序,但是为什么要用.Sort = flexSortUseColSort这段代码。
请详细的解释一下,谢谢各位大侠了
If .MouseRow <> 0 Then Exit Sub If .ColSort(.Col) = flexSortGenericDescending Or .ColSort(.Col) = flexSortNone Then
.ColSort(.Col) = flexSortGenericAscending
Else
.ColSort(.Col) = flexSortGenericDescending
End If
.Sort = flexSortUseColSort End With请问,对于上面的代码中的.Sort = flexSortUseColSort 不太理解,上面已经对一个列进行了排序,但是为什么要用.Sort = flexSortUseColSort这段代码。
请详细的解释一下,谢谢各位大侠了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货