From 05e5a33b2102cd562e8503121bef4ad8bc29a1e6 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 16 八月 2024 17:01:52 +0800
Subject: [PATCH] update
---
jrj/project/vindexform.cpp | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/jrj/project/vindexform.cpp b/jrj/project/vindexform.cpp
index 1604f3f..f6b9c8b 100644
--- a/jrj/project/vindexform.cpp
+++ b/jrj/project/vindexform.cpp
@@ -410,7 +410,7 @@
int cs = mainsheet.GetSheetCount();
int i;
for (i = 0; i < cs; i++) {
- //string str = xcombobox::GetLBText(cbx_menu.GetId(), i);
+ //xstring str = xcombobox::GetLBText(cbx_menu.GetId(), i);
xstring str = mainsheet.GetSheetText(i);
if (i == k)
AppendMenu(m, MF_STRING | MF_CHECKED, i + 1, str);
@@ -612,7 +612,7 @@
Hxsoft::XFrame::KXMLDOMElement e = x.documentElement();
if((xstring)m_Assignment == L"" && e.selectSingleNode(L"AssignmentID"))
{
- string sInfoEx = e.selectSingleNode(L"AssignmentID").text();
+ xstring sInfoEx = e.selectSingleNode(L"AssignmentID").text();
m_Assignment = sInfoEx;
}
@@ -658,11 +658,22 @@
Initial();
OnAttachListon();
- OpenWindow(L"dev:xpage[start.vframe.vbusiness.vx]");
return 1;
}
+ int onloaded()
+ {
+ ReSetInfo();
+ //OpenWindow("dev:xpage[start.vframe.vbusiness.vx]");
+ xwin* lw_face = OpenWindow(L"dev:xpage[start.vframe.vbusiness.vx]");
+ //xwin* lw_face = OpenWindow(L"dev:xpage[Business5.vx]");
+ if(lw_face)m_startwin = lw_face->GetHWND();
+ cbx_panelName.SetCurSel( -1);
+ ResetMenu();
+
+ return 1;
+ }
};
--
Gitblit v1.9.3