Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A grid that won't display ?
Message
De
23/12/1999 13:00:43
Jaime Vila
Miami Children's Hosp. - Radiology
Miami, Floride, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00306206
Message ID:
00308038
Vues:
35
Thanks for your reply !
I'm going to ask my question again ? make it a bit clearer . . I hope!

I am using a PRG as main; I always try to set-up the same way:

*/disable function keys
*/set exclusive, talk, status, etc.
*/set '_screen' size, color, etc.
*/get some info from environment variables
(I keep data path and workstation ID info here)
*/finally, DO FORM the first form I want the user to see

In my case, let's call the PRG 'StartPRG', the first form 'Form1'.
'Form1' has a command button with this click event, DO FORM 'Form2'.
'Form2' has a command button with this click event, DO FORM 'Form3'.
'Form3' has a grid on it.
When I build an exe, this project works fine.

Here's my problem:
I want to add a new form to the project, 'LaunchPad'. The form 'LaunchPad' has a command button with this click event, DO FORM 'Form1'. I also change the main PRG 'StartPRG' to include DO FORM 'LaunchPad', instead of 'Form1'.
Now when I build an exe, the grid on 'Form3' flashes the data for a moment, then blanks to a white box. ???

I've tried many read events / clear events combinations, still the grid on 'Form3' will not display.

?? any ideas


TIA Jaime



>Hi Jaime...
>
>First off, don't go down the road of toggling your recordsource.....
>
>Instead of making your main form main, why not use a PRG as your main. Something like:
>
>*/ Set up stuff, menu, etc...
>*/ Display the first form
>*/ Read Events - or you can make the first form modal...
>
>Then, when you close the first form - your EXE can bail
>
>It is a bit hard to go further with much else.... Let me know how things go...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform