PDA

View Full Version : Page Preload not making 'Paragraph' object invisible


holtgrewe
06-08-2006, 11:13 AM
I'm having a issue with Paragraph.Setvisible("Paragraph1", false) issued on page Preload and causing the paragraph to briefly show during page 'On Show'. It only happens the first time the page is displayed. The script is correct because I can Jump to this page from a different page and it works okay. I'm using this on several pages it it works okay; however this one page is giving me a 'fit'. I've placed the Paragraph.Setvisible("Paragraph1", false) on both preload and show without success, "still get the flicker".

I see in a help file note 'On Preload' that this may not work all the time. Has anyone found a work-around for this?

Any help anyone can share is appreciated.

TJS
06-08-2006, 11:47 AM
In your page design, go to the Attributes tab in the Paragraph Properties and uncheck the Visible box. This way when you run the project, the paragraph will initialize as invisible... should eliminate the flicker.

I haven't personally experienced it, but I too have read and heard that On PreLoad will sometimes fail as some objects are not initialize when that event occurs.

Josué Alba
06-08-2006, 12:47 PM
you cannot set visible properties in the preload page, 'cos the object is not even created.

TJS
06-08-2006, 01:38 PM
you cannot set visible properties in the preload page, 'cos the object is not even created.

That is consistent with what the documentation says, but in fact you can...

bule
06-08-2006, 03:08 PM
Documentation is evil!!! :lol :lol :lol

holtgrewe
06-08-2006, 07:41 PM
Thanks. Unchecking the Visible Box worked perfectly. It was pretty obvious after you pointed that out.