I can't seem to get the OnButtonClicked to work for my Grids. I've tried both Asynchronous and Synchronous. Not sure if this is a bug or something I'm doing wrong.
The DblClicked or OnColumnClick works, so I know I'm loading the correct form and it's reading it properly, but when I "check" or "uncheck" a button in a cell, it doesn't react.
sample functions:
;does not work
(defun c:Main_Form1_Grid1_OnButtonClicked (Row Column /)
(dcl_MessageBox "To Do: code must be added to event handler\r\nc:Main_Form1_Grid1_OnButtonClicked" "To do")
)
;does work
(defun c:Main_Form1_Grid1_OnColumnClick (Column /)
(dcl_MessageBox "To Do: code must be added to event handler\r\nc:Main_Form1_Grid1_OnColumnClick" "To do")
)
Thanks,
Paul
Maybe that is it, I probably want the EndLabelEdit. It's doing what I
need. Thanks.
On Wed, May 21, 2014 at 10:02 AM, Owen Wengerd owenwengerd@users.sf.netwrote:
Related
Bugs:
#763What is your cell style? Buttons cannot be checked or unchecked, so my guess is that you're not using a button cell style. If my hunch is correct, you probably want to use the BeginLabelEdit or EndLabelEdit events instead.