03-02-2012 11:59 AM
Can anyone point me to sample code for adding a custom tab ?
I am trying to determine the feasiblity of adding an Html viewing control via a custom tab for Act! contacts to display associated information from our companies intranet. So I am looking to give it a quick try.
03-05-2012 04:34 AM
This is sudi code but it should get you the basics.
'------------------------------------
' Create a tab page
'------------------------------------
Dim myTabPage As System.Windows.Forms.TabPage = New System.Windows.Forms.TabPage()
myTabPage .Name = "MyCustomTableinACT"
myTabPage .Text = "MyCustomTableinACT"
'------------------------------------
' Add the UI control to the tab
'------------------------------------
Dim myUserCOntrol As UserControl = New UserControl()
myTabPage .Controls.Add(myUserCOntrol)
'------------------------------------
' Add the Tab page into ACT's GUI
'------------------------------------
HostApplication.UILayoutDesignerManager.AddTabToCurrentLayout(myTabPage )
I think there is an example in the ACT SDK also.
Hpe this helps
-- JIm Durkin