meny
02-23-2010, 09:57 AM
My application has several Pages, in each one Paragraph and Button objects.
When it loads, for each object it does .SetText(..) and .SetProperties(..)
(the texts are set at runtime according to the language the user selects)
function SetPage1Texts()
_NoExitScriptOnPageJump = true;
Page.Jump("Page1");
Paragraph.SetText("Title", "Welcome");
Paragraph.SetProperties("Title", {FontSize=24});
Paragraph.SetText("Text2", "Install");
Paragraph.SetProperties("Text2", {FontSize=12});
-- and so on
end
When the application runs from the local disk, all is well - 1 second to set all the objects.
But when it runs from a CD then it is very slow - 15-30 seconds depending on machine.
Help and ideas much appreciated.
When it loads, for each object it does .SetText(..) and .SetProperties(..)
(the texts are set at runtime according to the language the user selects)
function SetPage1Texts()
_NoExitScriptOnPageJump = true;
Page.Jump("Page1");
Paragraph.SetText("Title", "Welcome");
Paragraph.SetProperties("Title", {FontSize=24});
Paragraph.SetText("Text2", "Install");
Paragraph.SetProperties("Text2", {FontSize=12});
-- and so on
end
When the application runs from the local disk, all is well - 1 second to set all the objects.
But when it runs from a CD then it is very slow - 15-30 seconds depending on machine.
Help and ideas much appreciated.