I've got a couple of DW's that I want to be read-only under certain conditions. I use PFC's dw.of_SetUpdateable( FALSE ), but I also don't want any of the columns to be "clickable". So, I add dw.modify("Datawindow.ReadOnly=YES"). This work, but wondering if there's a better way to do the same thing?
~~~Tracy
PB2021, Build 1509, PFC12.5
dw_ofSetUpdateable(FALSE) //needed to prevent the code from trying to update the dw
dw_modify("Datawindow.ReadOnly=YES") //needed to prevent any columns from being clicked into
I thought maybe there's another PFC function that does both. It's no problem, though.