| | |
| | | if (str == L"") |
| | | { |
| | | xaserverarg arg1; |
| | | arg1.setNativePointer(arg1.CreateInstance()); |
| | | |
| | | arg1.SetParam(L"HWND", GetHWND()); |
| | | arg1.AddArg(L"CustomerID", dw_base.GetItemString(1, L"CustomerID")); |
| | | OpenWindow(L"dev:xpage[Entity.Product.Select.vx]",arg1); |
| | |
| | | } |
| | | else if (comdid == L"xmProductDesc") |
| | | { |
| | | xaserverarg arg2; |
| | | xaserverarg arg2=GetArg(); |
| | | |
| | | int row2 = dw_goods.GetRow(); |
| | | if (row2 < 1) return 0; |
| | | xstring str2 = dw_goods.GetItemString(row2, L"ProductDesc"); |
| | | arg2.AddArg(L"value", str2); |
| | | OpenWindow(L"dev:xpage[memo.edit.new.vx]", arg2); |
| | | |
| | | if (arg2.GetArgString(L"comdid") == L"xmOK") |
| | | { |
| | | str2 = arg2.GetArgString(L"value"); |