Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Dec 7, 1998

Response window looses focus in DW

Question:
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.

Answer:
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()
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date