Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overlapping forms
Message
From
01/03/2005 12:41:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Overlapping forms
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00991665
Message ID:
00991665
Views:
62
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.
Next
Reply
Map
View

Click here to load this message in the networking platform