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

Visual Basic Accpac Controls

Status
Not open for further replies.

ROM21

Programmer
Feb 6, 2008
10
CA
Does anyone know where I can get documentation for the Accpac controls for visual basic. In particular:

AccpacAR1300UIctrl
AccpacOE1100UIctrl
 
Ooppss, sorry forgot to post Accpac Version: 5.2/5.3
 
I'd like to hide a fiew of the tabbed fields and some of the option boxes.

ie. Processing Tab
Territory field.

etc
 
Run the Accpac UI Info utility to get all the UI control names, then put statements like this:

AccpacOE1100UICtrl1.UIAppControls("afeoeordhlocation1").Visible = False
 
Where do I get the UI info utility?
 
Hey tuba when I try to do the following:

AccpacOE1100UICtrl1.UIAppControls("afeOEORDHterritory3").Visible = False

I get a message from the compiler saying that I "can't assign to a read-only property" How do I fix this?
 
Thanks, any way to hide some of the menu Tabs i.e Taxes Tab? I printed out the UI control names but can't seem to find the tab names.
 
Try these samples I got from another forum:

Dim WithEvents tabCtl As TabDlg.SSTab

Private Sub AccpacOE1100UICtrl1_OnUIAppOpened()
Set tabCtl = AccpacOE1100UICtrl1.UIAppControls("stbOrderEntry").GetControl
End Sub

Private Sub tabCtl_Click(ByVal PreviousTab As Integer)
MsgBox "Tab clicked"
End Sub

From full VB:

Dim WithEvents tabctl As VBControlExtender

Private Sub AccpacBK1600UICtrl1_OnUIAppOpened()
Set tabctl = AccpacBK1600UICtrl1.UIAppControls("tbOptions").GetControl
End Sub

Private Sub tabctl_ObjectEvent(Info As EventInfo)
If Info.Name = "Click" Then
MsgBox ("tab clicked")
End If
End Sub

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top