关于Grid的Head
我的一个Grid的Column1的Head1名为"姓名",我在他的click事件填写代码,
IF this.Caption = "姓名" then &&如果台头显示姓名,点击后显示反向姓名,反响排序
MESSAGEBOX('ff')
SET ORDER TO NAME descending
this.Caption = "反向姓名"
ENDIF
IF this.Caption = "反向姓名" THEN &&如果台头显示反向姓名,点击后显示姓名,正向排序
SET ORDER TO name ascending
this.Caption = "姓名"
ENDIF
thisform.Refresh()