Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search Form Replays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00023680
Message ID:
00023818
Vues:
21
>>OK, y'all, here's the deal: when the user presses the search button on my toolbar, I pop up a search form on top of the existing form. There is a button on the search form that allows the user to switch indexes. Say, for example, that the user invokes the search from the Customer form. The default search is by Customer Name, and the button's caption is "Cust. #". If the user presses this button, I Release and Destroy the search form and call it again with an entirely new set of parameters. The caption on the button is now Cust. Name. Everything works great. BUT: when the user finally accepts or cancels, I get a rapid replay of each search form invoked. If the user switches back and forth between indexes 4-5 times, the search form flashes 4-5 times before returning to the original form. In Darwinian terms, ontogeny recapitulates phylogeny.
>>
>>How do I stop this evolutionary behavior?
>
>Can you work a LockScreen into this somehow?

Instead of the Release/Destroy procedure, can you LockScreen (thanks, Bruce) change all the parameters and refresh? (Un-Lock the Screen, too).

Should take less time, since you won't have to re-load data, etc. Resetting Tags is LOTS faster than loading tables/views.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform