From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/xframe/devloper/XDevEditXQuery.cpp | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/jrj/xframe/devloper/XDevEditXQuery.cpp b/jrj/xframe/devloper/XDevEditXQuery.cpp
index 9d50fc8..6335a48 100644
--- a/jrj/xframe/devloper/XDevEditXQuery.cpp
+++ b/jrj/xframe/devloper/XDevEditXQuery.cpp
@@ -7,12 +7,13 @@
#include <xcontrol/xdwgrid.hpp>
#include <xcontrol/xsedit.hpp>
#include <xcontrol/xcombobox.hpp>
+#include "XDevEditPage.hpp"
using xml = KXMLDOMDocument;
-class export XDevEditXQuery : public xwin
+class export XDevEditXQuery : public XDevEditPage
{
public:
- XDevEditXQuery(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+ XDevEditXQuery(void* implPtr, HWND hWnd) :XDevEditPage(implPtr, hWnd) {}
public:
static XDevEditXQuery* CreateInstance(void* implPtr, void* hWnd)
{
@@ -24,6 +25,7 @@
xnode m_agentNode; //Agent Condition
xstring m_agentCond; //Agent Node
+public:
int SetAgent()
{
/*
@@ -68,7 +70,7 @@
xstring v = e1.getAttribute(L"source");
xc.SetText(L"" + v);
xc = GetControl(L"linkname");
- xstring v = e1.getAttribute(L"link");
+ v = e1.getAttribute(L"link");
xc.SetText(L"" + v);
KXMLDOMElement e2 = e.selectSingleNode(L"paras");
@@ -125,7 +127,7 @@
e.appendChild(e1);
root.documentElement().appendChild(e);
- xml y ();
+ xml y;
dw_list.DwUpdateTo(y);
root.documentElement().appendChild(y.documentElement());
//trace(y.xml());
@@ -249,6 +251,8 @@
AttachEvent(L"WM_XCOMMAND",(FEvent)&XDevEditXQuery::OnXCommand);
//获取焦点事件,用于重置工具条
AttachEvent(L"WM_SETFOCUS", (FEvent)&XDevEditXQuery::OnSetFocus);
+
+ return 1;
}
int OnInitial()
--
Gitblit v1.9.3