On Wednesday 13 December 2006 17:37, Allen Young wrote: > I don't find any existing component that are acting like ViewStack in > Laszlo. I think there must be a way to do this, but I don't know how. Does > anyone have any idea on this? Two ways come to mind. One is to have all your subviews in place and use 'setVisible' on them to hide/show them. The other way is using states. The first one will be good if you're adding subviews dynamically, although you won't get lazy creation. States are good if it's defined at compile-time, and you get lazy creation.
There are probably more ways I haven't thought of too :) Robin.
