From a6b54d999992d72b2d9ea33efec0b7d642ea9f2d Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 18 七月 2024 12:21:12 +0800 Subject: [PATCH] update --- jrj/xframe/xcontrol/xdwgrid.hpp | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/jrj/xframe/xcontrol/xdwgrid.hpp b/jrj/xframe/xcontrol/xdwgrid.hpp index e32e3a1..9436db8 100644 --- a/jrj/xframe/xcontrol/xdwgrid.hpp +++ b/jrj/xframe/xcontrol/xdwgrid.hpp @@ -71,6 +71,7 @@ int SelectRow(int nRow, bool bSelect = true) { return getKReport()->SelectRow_(nRow, bSelect); } int SelectRow(int sRow, int eRow, bool bSelect = true) { return getKReport()->SelectRow_(sRow, eRow, bSelect); } int GetNextSelectRow(int nStartRow) { return getKReport()->GetNextSelectRow_(nStartRow); } + int GetPrevSelectRow(int nStartRow) { return getKReport()->GetPrevSelectRow(nStartRow); } bool IsRowSelected(int nRow) { return getKReport()->IsRowSelected_(nRow); } //int SetSelectBkColor(COLORREF color){return getKReport()->SetSelectBkColor_(color);} int SetSelectionMode(int nMode) { return getKReport()->SetSelectionMode_(nMode); } //0 unselection 1 singleSelection 2 multiselection 3 multiselectionex @@ -101,6 +102,11 @@ public: int Reset() { return getKReport()->Reset_(); } int ResetUpdateStatus() { return getKReport()->ResetUpdateStatus_(); } +public: + LPTSTR GetColumnProps(LPCTSTR pColName) { return getKReport()->GetColumnProps_(pColName); } //寰楀埌鍒楁暣浣揦ML灞炴�� + int SetColumnProps(LPCTSTR pColName, LPCTSTR pXmlProp) { return getKReport()->SetColumnProps_(pColName, pXmlProp); } //璁剧疆鍒楁暣浣揦ML灞炴�� + LPTSTR GetColumnProp(LPCTSTR pColName, LPCTSTR pItem) { return getKReport()->GetColumnProp_(pColName, pItem); } //寰楀埌鍒楀睘鎬� + int SetColumnProp(LPCTSTR pColName, LPCTSTR pItem, LPCTSTR pProp) { return getKReport()->SetColumnProp_(pColName, pItem, pProp); }//璁剧疆鍒楀睘鎬� public: int event_ItemFocusChanged(int nRow, int nCol) { return getKReport()->event_ItemFocusChanged_(nRow, nCol); } @@ -339,6 +345,7 @@ getKReport()->ShowEditor(); } public: + /* LPCTSTR GetColumnProp(int nCol, LPCTSTR pItem) { return L""; @@ -350,6 +357,7 @@ return L""; //return getKReport()->GetColumnProp(pColName, pItem); } + */ int GetItemInt(int row, int col) { -- Gitblit v1.9.3