Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Background Image Flashing - how to stop refresh
Message
From
01/09/2005 18:05:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
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:
01046050
Views:
33
From other messages I see ıt may be related to a PNG. Then I'd try this:

*Image.refresh
if this.tag="refreshed"
  NODEFAULT
  this.tag="refreshed"
endif
Cetin

>Hi Cetin,
>
>Basically my code is as follows in the INIT of each form:
>
>this.AddObject('imgBackground', 'IMAGE')
>WITH this.imgBackground
> .Stretch = 2
> .Top = 0
> .Left = 0
> .Height = thisform.Height
> .Width = thisform.Width
> .ZOrder(1)
> .Picture = map_GetReferenceValue("IMAGE", "Default Background")
> .visible = .t.
>ENDWITH
>
>As soon as this happens with each lockscreen / refresh the image flashes.
>
>Any ideas?
>Regards
>-Mark
>
>>>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
>>
>>Mark,
>>I think there is code causing the flash (ie: resetting picture property, changing visibility off/on).
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform