Ok thanks All for all the posts I had so much trouble with the tab panel I decided to try something else
I am using a popup menu instead. The popup menu works fine.

On Aug 7, 2006, at 3:25 PM, Terry Ford 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:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
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