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. I guess it is/was a redundancy but I find it fun to play with the 
code sometimes.
   
  I ran a quick test and it works fine.
   
  Won't do that again.
   
  cheers
  Derek

Terry Ford <[EMAIL PROTECTED]> wrote:
  
On Aug 6, 2006, at 11:12 AM, D P wrote:

> As Walter says: Tabpanel.value gives the panel number but even so 
> if you are disorganized or get caption and number out of order you 
> could still use the structure below but why not use Select case? A 
> little more effecient. ( forgive me if I have syntax little wong.)

A lot wrong. You should try it. ;-)

> Select Case TabPanel.Caption
> Case "U.S. English"

You cannot read the Caption property of a TabPanel without specifying 
the value of the tab.
You could check to see if the caption reads "U.S. English" but you 
still need to refer to it by the value.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



                
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
_______________________________________________
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>

Reply via email to