How to get ID of dcbrowsecol?
Posted: Fri Mar 10, 2017 5:57 am
Hi,
I want to determine in which column someone clicked.
I did this with oBrowse:colpos. This works but when I add the ability to MOVE columns, this won't work anymore. I thought to use the ID clause to determine the ID of a column.
nCol := oBrowse:colpos
oCol:= obrowse:getColumn(nCol)
I expected to use oCol:ID, but this doesn't exist. I can add this to the class, but maybe there is an easier way?
I want to determine in which column someone clicked.
I did this with oBrowse:colpos. This works but when I add the ability to MOVE columns, this won't work anymore. I thought to use the ID clause to determine the ID of a column.
nCol := oBrowse:colpos
oCol:= obrowse:getColumn(nCol)
I expected to use oCol:ID, but this doesn't exist. I can add this to the class, but maybe there is an easier way?