Results 1 to 9 of 9

Thread: SSTab.Tab [Resolved]

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    Ottawa
    Posts
    38

    Question SSTab.Tab [Resolved]

    I'm trying to use the SSTab controls on a screen and want to trigger some events based on the tab that is selected. My problem is that when I try to use SSTab.Tab, my system reports that the method or data member is not found for the .Tab event. Any ideas ?

    Thanks

  2. #2

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    Ottawa
    Posts
    38
    Pretty simple code.

    If SSTab.Tab = 1 then
    MsgBox "Tab one clicked"
    End if

    Using this and do a run with full compile, I get the error of the data member or object not found. It's been added to my project as a Microsoft Tabbed Dialog control 6.0 SP5

  4. #4
    Hyperactive Member
    Join Date
    May 2003
    Posts
    401
    Originally posted by cfisher
    Pretty simple code.

    If SSTab.Tab = 1 then
    MsgBox "Tab one clicked"
    End if

    Using this and do a run with full compile, I get the error of the data member or object not found. It's been added to my project as a Microsoft Tabbed Dialog control 6.0 SP5
    Did u check if the control name is SSTab or SSTab1 or something else...
    Enjoy!!!
    apps_tech

  5. #5

  6. #6

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    Ottawa
    Posts
    38
    I re-named the default from SSTab1 to SSTab as indicated in my code (I even tried on another form just leaving it as a default SSTab1 but had the same problem) and the code does exist on the form. When I try to use SSTab.??? I only get the option for Count,Item,LBound and UBound. It's almost like part of the OCX file did not load (or I'm missing another reference). I've added many other controls to different project, but have never had this problem.

  7. #7

  8. #8

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    Ottawa
    Posts
    38

    RESOLVED

    Perfect. That's exactly what the problem was. Many thanks, I would have been looking for quite a while before coming up with that.

    Chris

  9. #9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width