Results 1 to 4 of 4

Thread: SSTab Click event problem [Resolved]

Threaded View

  1. #1

    Thread Starter
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,392

    Resolved SSTab Click event problem [Resolved]

    I have an SSTab control on a form, and I want to use the Click event to detect when a tab is clicked on. However, when I add a Sub to my program to detect this, I get the following error:

    Compile error:
    Procedure declaration does not match description of event or procedure having the same name.

    Any ideas as to what might be causing this would be appreciated. I'm sure it is something simple, but my SSTab documentation is lacking.

    Thanks.

    VB Code:
    1. Private Sub SSTab1_Click(intIndex As Integer, intPreviousTab As Integer)
    2.  
    3.     If SSTab1.Tab = 3 And intPrintFormSave < 0 Then cmdApply.Enabled = False
    4.     If SSTab1.Tab = 3 And intPrintFormSave < 1 Then cmdSave.Enabled = False
    5.  
    6. End Sub
    Last edited by jdc2000; Dec 10th, 2004 at 09:02 PM.

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