Hi

Yes "Tab" class receives the selected event from the tab but does not send
the selected event to the tabpane and even if it did tabpane does not fire
the selected event in the _setSelected method.

I didnt know whether to add this as a bug or an enhancement, but if you
extend the 2 classes you can make it change the selected state in the
tabpane..

Z

If you extend the 2 classes and add

On 12/10/06, Ken Robinson <[EMAIL PROTECTED]> wrote:

Hello all:

I'm doing some work with the tabslider and tabelement components and there
seems to be a problem/bug with the onfocus and onblur events attached to
the
tabelements.

The problem is that I want to control an .swf file attached to a view
inside
of a tab element. The first step was to gain control of the
selection/de-selection of the tab sliders. I had planed to do this by
using
start/stop methods embedded inside of the on onfocus/onblur
methods,respectively, of the tabelements.

Funny thing is that no matter which tab you select, the last tabelement is
the only one that is selected deselected. The code is attached below.

Anyone else seen this or have any suggestions.

<canvas width="800" debug="true">
<splash/>

    <debug width="100" height="50" x="5" y="5" fontsize="8"/>
    <view layout="spacing:1">
    <window id="cherry" title="Vinx" width="690" height="750" x="100"
y="40">
        <tabslider id="t" width="700" height="700"
onclick="Debug.write('Ryder')">



            <tabelement id="trailerTable" text="Welcome to the Vinx
Writing
Project" selected="true" layout="spacing:8"
onfocus="Debug.write('trailer')">


         </tabelement>



            <tabelement id="Q1Table" text="Vinx was born where??"
layout="spacing:8" onfocus="Debug.write('Q1')">


            </tabelement>


         </tabslider>
    </window>
    </view>
</canvas>


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006



Reply via email to