Progress 9 / Windows XP / Focus

Hello,

Often we have the problem that our Application (Progress 9.1C, Windows XP) has not the Focus. So the the Application is not able to do the commands coming from the keyboard. The user can tipe on the keyboard but nothing happens.
Strangely our application seems to have the focus. We have an widnow with a field for entering something and in this field the cursor is active!
Can anyone help us?

With kinde regards Matthias Röttgermann
 
We solved this problem by adding a "process events".



roettgermann said:
Hello,

Often we have the problem that our Application (Progress 9.1C, Windows XP) has not the Focus. So the the Application is not able to do the commands coming from the keyboard. The user can tipe on the keyboard but nothing happens.
Strangely our application seems to have the focus. We have an widnow with a field for entering something and in this field the cursor is active!
Can anyone help us?

With kinde regards Matthias Röttgermann
 

Axel

New Member
We had problems with process events, in some situations our application crashed.

I had just this problem if an ocx made a refresh as a dependend window (i.e. by a record link) and solved it with the following code in a function named iFixFocus:


if valid-handle( focus ) then
apply 'entry':U to focus.


Hope this helps ...
 
Top