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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime controls appearing on first tab only

Status
Not open for further replies.

sexydog

Programmer
Jul 9, 2002
176
GB
Hi

I have the following code in my program

------------------------------------------------------------
Private Sub Form_Activate()
Dim j As Integer

For j = 1 To UBound(the_crystal_report)
Load crvreport(j)
SSTab1.Tabs = j
SSTab1.Tab = j - 1
crvreport(j).Container = SSTab
crvreport(j).Visible = True
'crvreport(j).Left = crvreport(j - 1).Left + 3000 * j
crvreport(j).ReportSource = the_crystal_report(j)
crvreport(j).ViewReport
Next j
End Sub
------------------------------------------------------------

all my controls appear on the first tab only.how do i solve this...please help

thanks
 
If you're using Sheridan's ActiveTab control, you'll have to leave room on the tabs for the "common" area- anything placed in this area appears on all tabs.

It's been a while since I played with this control, so you'll have to monkey around with it a bit. Bring up the form in design mode, right-click the tab control & go to the Sheridan properties page. You can set how much of the overall control area is given over to this "common" area; any controls loaded outside of this are specific only to the particular tab you're looking at at that time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top