Antun’s Blog

Notes on OpenLaszlo, LZX and Rich Internet Application Development

Antun’s Blog header image 4

Entries Tagged as 'LZX Tips'

The id Attribute in 4.1

November 25th, 2008 · 2 Comments

One subtle thing that has changed in OpenLaszlo 4.1 is that you can no longer specify the id attribute when instantiating objects from script. When instantiating a class from script, you can specify a dictionary of initial properties as the second argument to the constructor: var v = new lz.view(canvas, {width: 300, height: 300, bgcolor: [...]

[Read more →]

Tags: LZX Tips · OpenLaszlo

Tab Completion in the Debugger

November 18th, 2008 · 1 Comment

There’s a handy tab completion feature in the OpenLaszlo debugger now. It’s been around for a few months, but I’ve avoided using it mainly because the keyboard focus was a little flaky on my old Windows laptop. It works just like a typical Unix (say bash) shell: Recompile your application with the debugger. e.g. browse [...]

[Read more →]

Tags: LZX Tips

The lz Namespace

September 15th, 2008 · 3 Comments

I wrote about migrating code to OpenLaszlo 4.1 a while back, but even after a few weeks of working with it, I’m still getting bitten by the new lz namespace. I’m just so used to doing things the old way, and this (pretty significant change) is not that well documented, and . Here’s a summary [...]

[Read more →]

Tags: LZX Tips · OpenLaszlo