Grid Control: simulated check-box disable
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Feb 22, 2003
- 473 views
Phil, It seems the section in your demo of simulated check-box disabling which relates to the space bar is not ever entered, & the demo works fine without it as far as I can see. Am I missing something? Dan Moyer -- If checkbox armed by pressing space bar then save state elsif msg = EGW_CELLEDIT then puts(1,"pressed spacebar?\n") -- Dan added to test it: never shows up -- Save checkbox state on spacebar down if cell[1]>0 and (cell[2] = colCB1 or cell[2] = colCB2) -- is a checkbox column and wParam = VK_SPACE then last_checkbox_state = EGW_GetDataCellValue ( aGrid, cell[1], cell[2] ) end if