Wait-for Focus Issue

Posted by Nithila Pillai on 19-Apr-2017 10:55

I'm getting "WAIT-FOR statement is not VISIBLE. WAIT-FOR terminated. (2910)"  error only from OE11.6.3 version based application. Same code segment works fine on lower version(Ex. 10.2B). Debug message shows that frame is visible and sensitive. I assume somewhere it's losing focus and control staying out of called program... Could someone pls suggest on this? - Thanks. pseudo code as shown below,

Program - 1:
button-1 in frame1.
On choose of <button-1>
do:
Run <Program-2>
end.
enable all with frame frame1 
frame frame1:visible     = true.
frame frame1:sensitive = true.
wait-for go of frame frame1 focus button-1.
Program - 2:
fill-in field in frame1.
On choose of <button-1>
do:
Run <Program-3>
end.
enable all with frame frame1 
frame frame1:visible     = true.
frame frame1:sensitive = true.
wait-for go of frame frame1 focus fill-in field.

Posted by Matt Gilarde on 19-Apr-2017 11:05

Do you have a small example which can actually be compiled and run? That would make it easier to figure out what's happening.

All Replies

Posted by Matt Gilarde on 19-Apr-2017 11:05

Do you have a small example which can actually be compiled and run? That would make it easier to figure out what's happening.

Posted by Nithila Pillai on 20-Apr-2017 05:44

Thanks Matt.

This thread is closed