Grid Control: simulated check-box disable

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu