Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning a form to a variable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00995571
Message ID:
00995578
Vues:
11
Make it Wait window NOWAIT so it doesn't hang up waiting for you to dismiss the wait window.
Is the Wait staement in your Init() or Load() code, or somewhere basic so that it fires before the window is fully loaded?

HTH

Terry

>Hello Again People,
>
>I have an application where a sub-form calls code that has WAIT WINDOWS. The problem is that the WAIT WINDOWS causes the VFP main screen to get focus and the form won't show , the user has to click on taskbar or switch to it. The issue occurs regardless if the sub-form is Modal or Modeless.
>
>So I was thinking about putting a message label in the sub-form itself. I can't use _screen.activeForm since the sub-form is not in the active screen. It has been quite a while since I had to deal with this and I recall that one option was to setup a public variable in the LOAD() of the form like this:
public oForm
>oForm = this
>Then whenever I needed to access the form I would use oForm instead of _screen.ActiveForm.
>
>is this correct?
>
>is there a better way?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform