View Full Version : Treeview
markg
11-12-2003, 11:11 AM
Is it possible to create a treeview control?
antun
11-12-2003, 12:23 PM
Yes, there's one on mylaszlo.com:
http://www.mylaszlo.com/browse.php?page=3&order=date
(The above URL is correct as I post this).
-Antun
markg
11-12-2003, 12:48 PM
Is printing available from pages rendered by LZX?
antun
11-12-2003, 01:27 PM
You can always print using the browser's own print function (and there is a way you can call this from within a Laszlo app).
However if you have heaps of text and are using a Laszlo scrollbar, then you would only be able to print what is visible. You could write a script on the server to generate a PDF based on the text that is in the client, and send that back to the client.
-Antun
markg
11-12-2003, 01:32 PM
Is it possible to involve Flash player's print via JS?
Also if I have a third-party Flash (SWF) file can I show it in a page built by LZX server? What about involving printing of such file?
What kind of charting is available? Any samples?
antun
11-12-2003, 01:40 PM
As far as I know the Flash player does not have it's own print function. If you right-click on an app, and go to Print (in the Flash Player contextual menu), you get the browser's print function.
Is it possible to involve Flash player's print via JS?
You can include any SWFs that you like, but not with any ActionScript in them (they might work, but we don't support them). SWFs are a good format for vector-based resources and animations.
Also if I have a third-party Flash (SWF) file can I show it in a page built by LZX server? What about involving printing of such file?
There are no charting APIs, although it would be pretty easy to create your own charting components that took XML data and rendered it how you wanted to render it. If you already have charting software installed on your server that generates bitmap charts on the fly, you could load these into a Laszlo app seamlessly at run-time.
What kind of charting is available? Any samples?
markg
11-12-2003, 01:45 PM
Can LZX create a page that will consist of frames? Just like a conventional html with frames?
antun
11-12-2003, 01:50 PM
You could get this effect (if you can create windows and panes, then creating a frame would be quite straightforward).
What you've got to understand is this:
When you first request a .lzx file with your browser, the LPS responds with two things - a HTML wrapper page, and the SWF. The HTML wrapper page contains the object and embed tags that tell the browser to invoke the Flash Player.
While you're developing your app, of course you'll probably just be hitting the lzx page and just be getting the default wrapper.
You can edit this wrapper, and do whatever you like with it - you could put the LZX app in an HTML page (like the Weather example I showed you), or you could have a frame with the LZX app in it, or you could pop a new browser window up with just the LZX app.
Does that clarify things?
-Antun
markg
11-12-2003, 01:52 PM
I see.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.