Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get to main screen
Message
De
01/05/1998 14:53:47
 
 
À
01/05/1998 14:49:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096356
Message ID:
00096358
Vues:
18
>I'm a vfp newbie and having a bit of a problem with moving between some old FP code and integreting vfp3.0 into it.
> I've got a small 3 button form and one of the buttons needs to call a fp program. The problem is that the program tries to run in the window of the calling form and runs out of space. I've tried all kinds of ZOOM and CLEAR and RELEASE in the click event of the form but nothing seems to make a difference. I thought that thisform.release was supposed to make the thin go away. Is there any way I can get the calling form to go away so that the called program can run in the main window (desktop)?
> Any help or suggestions would be appreciated. This is the first time that when I've had a problem, the answer wasn't immediately found in UT cuz someone else asked the same question. You folks are GREAT!!
>
>Pete

The better way would be to look at FP code and try to redirect output to SCREEN. If it's impossible you can make timer trick:
1. Add customized disabled timer to _SCREEN
2. Timer.Timer event should contain code which will a) release the form and b)start FP program
3. To initiate the process you just issue _SCREEN.Mytimer.Enabled=.t. from Form.CommandButton.Click event
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform