Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Form
Message
 
 
À
02/10/2003 20:40:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00832938
Message ID:
00834778
Vues:
27
>Larry,
>
>Main Program--calls splash form containing the timer once environment is set
>Timer is enabled in the splash form
>Timer event calls the primary view (pulling data from 7 tables, view ends with some 10K records)
>Main program continues and calls menu (read events here)
>Timer event terminates, releases splash form
>View is now on screen with menu at top
>

Ken,
IMO, you don't need a timer at all. Simply use a variable reference to the splash screen and have the main program do all the work. Ex:
local losplash
* set up environment
do form mysplash name losplash linked

* open primary view
* set up menu in _Screen
release losplash
read events
This way the splash screen stays visible the entire setup time. It doesn't matter how long it takes to pull the data and you don't have to worry about VFP events stepping on the timer event.

Regards.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform