DCBROWSE with DCBROWSECOL with a checkbox

This forum is for eXpress++ general support.
Post Reply
Message
Author
reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

DCBROWSE with DCBROWSECOL with a checkbox

#1 Post 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?
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: DCBROWSE with DCBROWSECOL with a checkbox

#2 Post by reganc »

Ok, forget it.

I did a search and saw that you need to use the oLastCol:dataArea:lbClick and that works fine.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

Post Reply