Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Summing Column In QM Grid
#9
I get the error:

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
Code:
Copy      Help
,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
Code:
Copy      Help
,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


Messages In This Thread

Forum Jump:


Users browsing this thread: 10 Guest(s)