Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Control

Status
Not open for further replies.

hdgirl

Technical User
Feb 2, 2002
131
0
0
GB
Is it possible to change the background colour of a tab control box?

CJB
 
If you go into form design view and right click on the control, choose properties. Scroll down until you see Back Color and click in the box. You will see the box with 3 dots...

Click that box and a color palette should come up.
 
No, you can not change the background color of the Tab control. However, you can set it so that it is Transparent (BackStyle property). Note that the tabs at the top will not become transparent. There's a way to deal with this that I've posted in another thread.
 
Hi all,

I have a TabControl on a form.
Under each page there's a subform.

What I want to do is to change a record on previous page and then click the next page on the tabcontrol and see the the changed record.

I have tried with:
Private Sub Page2_Click()
Forms![FrmSub2] = Requery
End Sub

..but that doesn't seems to do anything.


/Kent J.



 
1st, the Onclick event doesn't seem to work. You need to use the OnChange event. Also, I believe the syntax should be:

Private Sub Page2_Click()
Forms!FrmSub2.form.Requery
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top