Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: ghosts and reload of form

$
0
0
Re: ghosts and reload of form
FoxInCloud
Re: ghosts and reload of form
04/10/2012
01:36:56 AM
3H503GO3A Show this entire thread in new window
Gratar Image based on email address
From:
Thierry Nivelet (FoxInCloud)
To:
Attachments:
None
I would suggest to have .Picture = '' when form loads, then assign .Picture in form.init() based on a parameter
This way HTML is generated with no image in control
HTH,

Since forms are really only instatiated once, I have the following problem: on a form I have a logo xxx.jpg. That logo is related to user XXX. Now the user presses the "exit" button, which closes this page and brings him to the home login page. Now user YYY logs in. We "instantiate" the form for him and change the logo to be yyy.jpg.

No matter what, there is always a brief ghost image of the previous logo. No combination of lockscreen or of even resetting the picture property on "exit" helps, not to mention that the user may just use the back button to get back to the login screen and never touch our exit button. I tried code in:

logo init
form init
last method called before form release

and I cannot get rid of the 1 second ghost image.

I experimented with some other forms as tests, and I found that this is pervasive, but if the form hs few enough controls to paint, the ghost can be short enough not to be very noticeable.

The problem is not just images, since the form has to re-init, there is always a delay. Just so happens in my case, with many controls, the ghost is bad, but I only happen to care now about the image control.

Any suggestions appreciated.


-- thn (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393