Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toggle checkboxes in grid through button
#1
Is it possible to toggle checkboxes in a grid through a button?
If I put this code in the case WM_INITDIALOG code of a dialog, then the code works and renders checkboxes.
g.GridStyleSet(32)
or
g.GridStyleSet(GRID.QG_CHECKBOXES)

But if I attach the above lines to a button, then it does not work.
(grid needs some kind of refreshing/reloading?)

Is it possible?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)