strange win32lib problem
- Posted by don cole <doncole at pacbell.net> May 29, 2007
- 635 views
Hello Everybody, What I don't get, This was working before:
constant FILE-{"afile.dat","bFile.dat",cFile.dat"}--etc... constant ListView15 = createEx( ListView, {"ListView15",""}, Window1, 184, 56, 160, 200, w32or_all({LVS_REPORT,LVS_SHOWSELALWAYS}), 0 ) atom lvMask integer lvOk lvMask = w32or_all({LVS_EX_CHECKBOXES}) lvOk = sendMessage(ListView15,LVM_SETEXTENDEDLISTVIEWSTYLE,lvMask,lvMask) procedure load_controls() for x=1 to length(FILE) do VOID=addLVItem(ListView15,0,FILE[x]) end for setCheck({ListView15,3},w32True) end procedure
Now I keep getting error: F:\eu\WIN32LIB\Win32Lib.ew:22844 in procedure setCheck() variable row has not been assigned a value pControls = {13,3} flag = 1 hMII = <no value> lType = <no value> id = 13 row = <no value> TV_ITEM = <no value> state = <no value> lFlags = <no value> mask = <no value> k = 1 i = <no value> j = <no value> row IS declared it's 3, I don't get it. Any help appreciated. Don Cole