Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overlapping forms
Message
De
01/03/2005 12:41:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Overlapping forms
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00991665
Message ID:
00991665
Vues:
64
At the end of my bus import routine, I bring up a form listing all the import errors that have built up during the run. Now, this is weird, as I have given advice on this myself but, at the moment, the following code doesn't work:
  If .lDiscrepancies
      Select serCIFErr
      Use
* 01/02/05  .AlwaysOnTop	= .F.    	&& 27/01/05
* 01/02/05  .AlwaysOnBottom	= .T.	&& 27/01/05
      .Visible	         = .F.
* 01/02/05  .Refresh()		&& 28/01/05
     Do Form serImportCIFErrors
* 24/02/05  .AlwaysOnBottom	= .F.	&& 27/01/05
* 24/02/05  .AlwaysOnTop	= .T.	&& 27/01/05
    .Visible	         = .T.
  Endif
The import error form is overlapped by a still-visible import form (which is supposed to be disappeared). As you can probably glean from the commenting out, I've tried several different permutations. This HAS been working fine up to recently. I thought maybe because the import form was modal, so I set it to modeless - no joy (it hadn't made a difference when it WAS working though). Can't be sure but I think that the on top, on bottom stuff worked once (why else did I comment it out and not just delete it?)

It's almost as if VFP does what's its whim. Any ideas? Can VFP be put in a state where it does or doesn't work?

'ppreciate it

Terry
- 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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform