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