DCBROWSE with DCBROWSECOL with a checkbox
Posted: Thu May 04, 2017 4:38 am
I have a DCBROWSE (oBrowse) that allows multiple rows to be selected. The last column (oLastCol) therefore shows either a checked or unchecked tickbox using a bitmap.
Currently the select / unselect is done using the ITEMSELECTED codeblock on the browse. This works ok but I have now been asked if a single left-click in the last column could be used to make the selection.
I tried setting oLastCol:lbClick to a code block that posts a RETURN key to oBrowse but that did not work.
Is there an easy way to achieve this?
Currently the select / unselect is done using the ITEMSELECTED codeblock on the browse. This works ok but I have now been asked if a single left-click in the last column could be used to make the selection.
I tried setting oLastCol:lbClick to a code block that posts a RETURN key to oBrowse but that did not work.
Is there an easy way to achieve this?