Hi there,
Due to me working on an application wich only has ONE Form with SSTabs it get rather crowded with the code. Now I would like to branch out with some of that SSTab code to one of my modules. Maybe somebody could help ???
VB Code:
Private Sub SSTab1_Click(PreviousTab As Integer) '--- Select Case SSTab1.Tab Case 0: '--- TAB ONE (0). code ............ code ............ [COLOR=Red]This would be the section I like to Call from a module ???[/COLOR] SSTab1.TabEnabled(1) = True SSTab1.TabEnabled(2) = False SSTab1.TabEnabled(4) = False SSTab1.TabEnabled(6) = False SSTab1.TabEnabled(7) = False [COLOR=Red]...................[/COLOR] code ............ code ............ Case 1: '--- TAB TWO (1). code ............ code ............ [COLOR=Red]This would be the section I like to Call from a module ???[/COLOR] SSTab1.TabEnabled(0) = True SSTab1.TabEnabled(2) = True SSTab1.TabEnabled(3) = True SSTab1.TabEnabled(4) = False SSTab1.TabEnabled(5) = True SSTab1.TabEnabled(6) = False SSTab1.TabEnabled(7) = False [COLOR=Red]...................[/COLOR] code ............ code ............ etc. etc. End Select
Thanks aktell




Reply With Quote