Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus causes form not to be released
Message
De
18/10/1998 12:04:55
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
18/10/1998 11:09:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00147937
Message ID:
00147942
Vues:
17
>I want to use the setfocus method to set focus to a control on a page.
>When using setfocus the form (when closed) stays in memory.
>This problem occurs when applying a setfocus() in the activate page event from a pageframe. When using setfocus() within the method AfterRequery (from ebizobjform..) the problems also occurs. I want to use setfocus in afterrequery to set focus to the first item in a picklist or when no items avail to the first control of the searchcontrols or when only one item to set control to the next page in the pageframe.

I don't know of any problem with SetFocus() causing a form not to close. Normally it's a object reference that's not released. Also there's the IF TYPE("something") = "O" AND PEMSTATUS() on the same line that can cause the form to hang.
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform