No dice on that.  Can't have the code firing on each mouse over.  Code is resource intensive.  Need for it to fire only on visiting the tab.  Is there a reason onselected fires twice?  Shouldn't it only fire when the tab is selected and not when another tab is selected?
 
If this is a bug, does anyone know of a work around? 
-----Original Message-----
From: Henry Minsky [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 7:24 PM
To: Tim Patsch
Cc: [email protected]
Subject: Re: [Laszlo-user] Need to execute custom action when user visits a tabpane

Did you try "onmouseover"?
just a thought, don't know if it works...

On 11/14/05, Tim Patsch <[EMAIL PROTECTED]> wrote:
This code gets me close, but it fires when the user both "goes to" and
"leaves" the tabpane in question.  I need to execute some code only when a
user visits the tab, not leaves.  How do I do this?

<tabpane text="one">
  <method event="onselected" reference="this.tab">
    Debug.write("in selected for tabpane 1");
  </method>
</tabpane>
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 10/25/2005

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



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

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

Reply via email to