Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background Image Flashing - how to stop refresh
Message
De
01/09/2005 18:05:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01045858
Message ID:
01046050
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform