That's all I thought he wanted to do. Loops are an easy out.
Maybe pagepanel would be a better option. I seem to recall value included
there.
Anyway, not something I deal with much.
cheers
Derek
Terry Ford <[EMAIL PROTECTED]> wrote:
On Aug 7, 2006, at 9:34 AM, D P wrote:
> Yes Terry, you are absolutely correct.
>
> I was just tossing out an idea and assumed that the LR would be
> used. LOL.
>
> And yes to Brian, there are more param's needed as it is a method
> I was thinking of.
>
> OK then, what I meant was:
>
> TabPanel1.Caption(TabPanel1.value)
>
> (for Brian:) as in:
>
> Select Case TabPanel1.Caption(TabPanel1.value)
> case "US English"
> //all your visibles true/false
> case "Pharsee"
> //etc
> case else
> //etc
> end select
>
> This way if there was a parity issue with tab value and caption
> it would be captured.
That's about all it would do. I don't think that was what Brian
wished to do as he wanted to find out which tab was selected. In your
example above, it wouldn't help him find out which tab was selected
unless he tested each TabPanel.Value in a loop.
The caption(index) method really makes more sense when you wish to
actually change the caption at runtime.
Terry
PS. I often wondered why RS's LR doesn't also include Value in the
TabPanel Class. They do this for many other classes where the super
actually controls the action.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
Search the archives of this list here:
---------------------------------
See the all-new, redesigned Yahoo.com. Check it out.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>