Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Not Painting
Message
From
17/06/1999 16:56:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form Not Painting
Miscellaneous
Thread ID:
00231093
Message ID:
00231093
Views:
52
NOTE: This is in some ways a follow-on to a post I made a while back called 'Weird Refresh Glitch'.

I'm having a problem with a form where the contents fo the form are not being displayed. The form is only up for a few seconds at a time (it's sort of a 'wait a second...' thing), but that doesn't seem to be a significant point.

The basic symptoms are these:

1. The first time the form is shown, it shows a blank gray area where its contents should be.

2. Every time thereafter, when the form is shown, the contents of the window below it are seen through the content area as if it were transparent.

Here are the details of how the form is used:

A. It's a class-based form (although I did a test with a regular form to see if it made a difference; it didn't).

B. The form is instantiated at load time, but kept hidden.

C. Through the use of Show() and Hide() method calls, it is displayed at various times.

Here are some of the vexing clues to the problem:

I. If I place a WAIT WINDOW '' TIMEOUT 0.1 after the Show(), the form's contents paint.

II. If our menu system (created in GENMENUX) has its menubar highlit, or a menu popped up, the behavior occurs. If the menu is completely unselected, the behavior does *not* occur.

III. If a DisplayMessage() type pop-up comes up during the time while the form is on-screen, its contents paint in (I assume this is a sub-case of #I above).

IV. If I explicitly call the form's Paint() or Refresh() methods, or it I set the form's LockScreen property to .F., the problem persists. If I set the _VFP.AutoYield property to .T. or .F., the problem persists.

I am at my wits' end on this, trying to figure out what the heck can be causing it. I just don;t know what else to try or where else to look.

Help!!!

-- jas
Next
Reply
Map
View

Click here to load this message in the networking platform