Response window looses focus in DW

Response window looses focus in DW

I have a datawindow with a couple of fields where users can double-click to see a code table. The code table window is a response window. The problem is that when control returns to the field, users cannot type anything until they click on that field. If the user tabs to the next field, it behaves as if it were locked?you cannot type anything there until you first click on it.

It sounds as though the focus has moved from the datawindow control to the window or another object on your window. In your double-clicked event, after you have opened the response window, you should issue a set focus on the datawindow.

I would suggest that you post the focus command to make sure that some other code is not interfering with the focus:

dw_1.POST FUNCTION SetFocus()


Share the Post: