Phil Wallach

I follow where my mind leads …

Phil Wallach header image 4

Entries Tagged as 'OpenLaszlo'

OpenLaszlo: building context menus

August 10th, 2007 · No Comments

This is a brief overview of how I initialise context menus in my OpenLaszlo application.  There is nothing magic here, it is all in the documentation, but I hope this will save someone the time it took me to pull it all together.
CREATING THE CONTEXT MENU
This handler creates an empty context menu for the current […]

[Read more →]

Tags: OpenLaszlo

OpenLaszlo: initstage … defer vs late

August 8th, 2007 · No Comments

I have been playing around with the initstage property on views, in order to enhance performance (references below).  The initstage property tells OpenLaszlo when to complete initialisation after the object has been instantiated.
The Manual
initstage 
The execution of a node’s init method and sending of the oninit event is under the control of its initstage attribute, as […]

[Read more →]

Tags: OpenLaszlo

OpenLaszlo: background loading of images

August 1st, 2007 · No Comments

Some discussion in the OpenLaszlo Forums gave me an idea for improving the performance of the deferred image loading in OpenLaszlo: optimising for a large number of views.
The idea is quite simple; if the views are being initialised in idle time (through initstage=”late”), then load the image when the view is initialised, that is in […]

[Read more →]

Tags: OpenLaszlo

OpenLaszlo: a way to propagate context menus

July 27th, 2007 · 1 Comment

In OpenLaszlo context menus are attached to a single view. If an object on the screen is composed from multiple views the context menu must be attach to each of these views. This was a problem for me because I had screen objects composed from over 20 views each, and assigning a context menu to […]

[Read more →]

Tags: OpenLaszlo