I have a datawindow column comment and a label (text). Instead of seeing the labels like this
I want the label to appear in the column itself - like in the red box. I also want the background to change when a user clicks there so it is apparent where the focus is on the dw.
In the background expression on my column_name I have
If( (getrow()=currentrow() and gf_get_column_with_focus() = 'comment'),
selected color, not selected color() ). But this only sets the background of the column.
When I click on the area where the label is, I don't know how to change the background of the label and the column in an expression.
And when I click on the column I want the label background to change as well - to give the appearance of one big column.
I thought about putting something in the clicked event of the dw, checking for text_t, then setting the background of test_t and columname - _t for example. But, seems like it would still appear selected after clicking on another column.
This is a pic of mu actual dw