11-19-2008, 11:59 PM
I get the error:
when I select the combobox item from dlg_QM_Grid that calls on the case
Function gridNotify
in gridNotify.
Specifically, the "show inp" cb item, which then calls
Function gridNotify
The step:
Thanks, but I hope this doesn't take too much of your time. I am still trying to find an outside grid solution that allow me to sort columns without reloading.
Thanks again for all your help.
Stuart
Quote:Error (RT) in "ridNotify: window not found
when I select the combobox item from dlg_QM_Grid that calls on the case
Function gridNotify
,case LVN_QG_COMBOFILL
,,out "combo fill: item=%i subitem=%i" cd.item cd.subitem
,,TO_CBFill cd.hcb "one[]two[]show inp"
in gridNotify.
Specifically, the "show inp" cb item, which then calls
Function gridNotify
,case LVN_QG_COMBOITEMCLICK
,,out "combo click: item=%i subitem=%i cbitem=%i text=%s" cd.item cd.subitem cd.cbindex cd.txt
,,if(cd.cbindex=2)
,,,if(inp(s))
,,,,s.setwintext(cd.hctrl)
,,,,ret 1
The step:
Quote:,,,,s.setwintext(cd.hctrl)seems to be the problem. The funny thing is that it works on an earlier step:
Quote:,,if(OpenSaveDialog(0 s))
,,,s.setwintext(cd.hctrl)
Thanks, but I hope this doesn't take too much of your time. I am still trying to find an outside grid solution that allow me to sort columns without reloading.
Thanks again for all your help.
Stuart