General information
Category:
Coding, syntax & commands
Title:
Form with grid hangs
Hello.
I've got a mainapp with a close event.
This event closes all activeforms.
*******close*********
procedure Close
local llOk
llOk = .T.
do while type("_screen.activeform")="O" and llOk
llOk = _screen.activeform.close()
enddo
if llOk
clear events
endif
endproc
********************
The close event of the forms themself contains this.release.
I've discovered that this works fine for all forms except for those with a grid (espescially when it has the focus) on it. It looks like that llOk never receives .t. from _screen.activeform.close() and stays in the loop.
When I close those forms manually (with the mouse) there are no problems.
I hope very much that anyone can help.
tia, victor
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only