Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with grid hangs
Message
From
13/03/2003 05:33:49
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Form with grid hangs
Miscellaneous
Thread ID:
00765292
Message ID:
00765292
Views:
57
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
Map
View

Click here to load this message in the networking platform