Page 1 of 1

DCBROWSE with DCBROWSECOL with a checkbox

Posted: Thu May 04, 2017 4:38 am
by reganc
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?

Re: DCBROWSE with DCBROWSECOL with a checkbox

Posted: Thu May 04, 2017 4:44 am
by reganc
Ok, forget it.

I did a search and saw that you need to use the oLastCol:dataArea:lbClick and that works fine.