Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread 5 minutes to compile
Fri, Dec 9 2011 9:33 AMPermanent Link

Lars Bevik

First of all, do you want me to report errors here or do you want to work in peace and quiet?
Anyway, I created a project with just one image control on the form. It was the Panda image that comes with Windows. It is 763 kB. It took around 5 minutes to compile and the resulting js-file was 218 kB.
Fri, Dec 9 2011 7:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Lars,

<< First of all, do you want me to report errors here or do you want to work
in peace and quiet? >>

No, by all means, report any bugs that you see.  My comments regarding
support questions was more along the lines of "how do I...?" type of
questions.  If you see something that is broken, please let me know.

<< Anyway, I created a project with just one image control on the form. It
was the Panda image that comes with Windows. It is 763 kB. It took around 5
minutes to compile and the resulting js-file was 218 kB. >>

This is now fixed - it was some brain-dead string handling for binary
properties (images).  In general, however, you should probably avoid very
large images saved in the form files at design-time since they double in
size when stored as hex-encoded strings.

There was also an issue with images that were larger than the defined
design-time size (Center property set, Stretch property not set).  At
runtime, the image would display outside of the bounds of the design-time
definition.

Also, I'm not sure if you know or not, but you can use
Project/Options/Compilation/Compressed Output to turn on compression of the
emitted JS.  It will reduce the resulting JS by at least half, and will also
compress all of the HTML and CSS files by removing whitespace.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image