Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Background Image Flashing - how to stop refresh
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01045858
Message ID:
01045979
Views:
26
This doesn't work, because if I add a command button with a click method of:

thisform.LockScreen = .t.
thisform.Refresh
this.LockScreen = .f.

As soon as the last line executes, I see the background image get redrawn, and the image flashes ...

The only thing that I can think of is that the image is in a PNG format and 39KB in size

Any ideas?


>>We are getting an annoying behaviour on our forms that we would like to stop. Each form is made up of a background image and then a PageFrame. Each time the form is refreshed, you can see the image flash on the form.
>>
>>The background image is not a form.picture property but is acutally added in the forms init method.
>>
>>The same thing happens when a modal form is called, and then closed - we get this flickering. I see no way of stopping it ....
>>
>>Any ideas????
>>
>>TIA,
>>Mark
>
>Check out the forms .lockscreen property and set it .t. before refresh and back to .f. afterwards.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform