Information générale
Titre:
Can't Relase Form from Menu if Focus is in a Grid
I have a form open with the focus in a grid. I click on a menu item that, in the course of processing, performs a _Screen.Forms[m.I].Release on the the form. The form does not release until I return from the processing of the menu item.
If the focus is on (as near as I can tell) any other control item (text box, edit box, page tab, control button, combobox, list box, etc.) the form is released immediately.
I have a very simple test form and program that demonstrates this.
In my application, when the user clicks on certain menu items I need to close any forms that are open and referencing a temporary table before I can delete that table. Through all my testing it worked fine. I never happened to have focus on a grid.
I have delivered the application to a client and it is generally working fine. Due to contract restraints have to bill out before June 30. Yesterday they finally demonstrated this bug to me in a reproducable manner and I have spent the last 6 hours figuring out what was going on.
I assume this problem will not be fixed in VFP7. I don't know if it is a problem in VFP8 as I haven't yet gotten VFP8.
Has anybody else seen this problem? Any suggestions for a workaround? I would rather not have to rework a large amount of my code on my dime to get around this bug.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement