Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: tabbed control


Message #1 by "Sandra Tielemans" <xantie@s...> on Wed, 4 Apr 2001 13:20:36
Dear all,



if I use a tabbed control on my form, the following problem occurs:

i have a tab called General and a tab called Monitor. If i put a 

commandbutton on tab 'general' it is also visible on tab 'Monitor',and if 

i put a commandbutton on tab 'monitor' it is also visible on tab'general'.

I is like the tabpages are transparent or something.(but my labels and 

textboxes on it act normal).

Can someone please advise what the problem is here?



Kind regards

Sandra

Belgium

Message #2 by Brian Skelton <brian_skelton@o...> on Wed, 4 Apr 2001 13:25:09 GMT
Sandra



What's happened, I suspect, is that the two command buttons 

have been placed on the form behind the tab control, but as 

they are 'in front' of the tab control it appears as though 

they are visible on every page.



To solve this, select the button, cut it, select the correct 

page on your tab control and paste the button back. It should 

now be part of the tab controls collection of controls, 

rather than the forms.



-BDS



>

>Dear all,

>

>if I use a tabbed control on my form, the following problem 

occurs:

>i have a tab called General and a tab called Monitor. If i 

put a 

>commandbutton on tab 'general' it is also visible on tab 

'Monitor',and if 

>i put a commandbutton on tab 'monitor' it is also visible on 

tab'general'.

>I is like the tabpages are transparent or something.(but my 

labels and 

>textboxes on it act normal).

>Can someone please advise what the problem is here?

>

>Kind regards

>Sandra

>Belgium

>


  Return to Index