View Full Version : multiple .lzx files in one application ?
candide.kemmler
05-17-2003, 08:04 AM
So far, I've only seen examples of lzx applications as one single unique lzx containing the main thing and occasionaly some supporting .lzx files with laszlo classes.
Isn't it possible to have multiple .lzx files for more modularity ?
antun
05-17-2003, 08:29 AM
For Sure! The contacts example is a good one:
http://www.laszlosystems.com/lps-dr/sample-apps/contacts/contacts.lzx
It ships with the download, so you can have a look at the files on your own computer for more info. Typically you'd break a large app down into separate classes, and put them in separate files, using the <library> tag instead of the <canvas> for the included files. Then you'd include those using <include>.
You can also include lzx inline - just have a chunk of LZX that's saved in another file.
-Antun
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.