| | |
| | | index++; |
| | | if (index == 1) |
| | | { |
| | | GetControl(L"sle_filter").SetText(L""); |
| | | xcontrol(GetControl(L"sle_filter")).SetText(L""); |
| | | xstring str = L""; |
| | | if (str != searchStr) |
| | | { |
| | |
| | | if (NInvoiceNo != InvoiceNo) |
| | | { |
| | | hdr.mask = DMS_CSSSTYLE; |
| | | hdr.cssstyle = L"color:#ff0000"; |
| | | hdr.pCssStyle = (LPTSTR)L"color:#ff0000"; |
| | | } |
| | | } |
| | | return 1; |
| | |
| | | |
| | | xaserverarg arg; |
| | | |
| | | arg.AddArg(L"QueryTxt", GetControl(L"sle_search").GetText()); |
| | | arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText()); |
| | | |
| | | xcombobox cbx_type = GetControl(L"cbx_ship"); |
| | | int h = xcombobox::GetCurSel(cbx_type.GetHWND()); |
| | |
| | | |
| | | int OnFilter() |
| | | { |
| | | xstring str = GetControl(L"sle_filter").GetText(); |
| | | xstring str = xcontrol(GetControl(L"sle_filter")).GetText(); |
| | | if (str != searchStr) |
| | | { |
| | | searchStr = str; |