In my OpenLaszlo application, I have a view which contains several tabs.
 This view basically functions as a dialog so it gets hidden and made
visible depending on actions of the user.  When the user 'opens' the
dialog, I want to make sure a specific tab is selected, regardless of
which tab may have been selected previously.  I searched the OpenLaszlo
forums for a solution and found one which suggests doing something like
this:

"tabs".subviews[0].subviews["i"].setAttribute('click', true)

where "tabs" is the name of the tabs element and "i" is the tab to
select.  However, I have to agree with the person who posted the
solution that it seems that there should be some tab selection methods
which can be invoked from a script without having to crawl through the
views which make up a tabbed view.  It doesn't appear that any such
methods exist, at least as of 3.2 (the version I'm currently using).  Is
there a better way to set the current tab from a script?

Thanks!
-- 
  James Howe
  [EMAIL PROTECTED]


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to