Apr 22, 2008 #1 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
Does anyone know where I can get documentation for the Accpac controls for visual basic. In particular: AccpacAR1300UIctrl AccpacOE1100UIctrl
Apr 22, 2008 Thread starter #2 ROM21 Programmer Feb 6, 2008 10 CA Ooppss, sorry forgot to post Accpac Version: 5.2/5.3 Upvote 0 Downvote
Apr 22, 2008 #3 Jay Converse Programmer Jun 17, 2007 3,277 US There is no documentation. What do you want to know? Upvote 0 Downvote
Apr 22, 2008 Thread starter #4 ROM21 Programmer Feb 6, 2008 10 CA I'd like to hide a fiew of the tabbed fields and some of the option boxes. ie. Processing Tab Territory field. etc Upvote 0 Downvote
I'd like to hide a fiew of the tabbed fields and some of the option boxes. ie. Processing Tab Territory field. etc
Apr 22, 2008 #5 Jay Converse Programmer Jun 17, 2007 3,277 US Run the Accpac UI Info utility to get all the UI control names, then put statements like this: AccpacOE1100UICtrl1.UIAppControls("afeoeordhlocation1").Visible = False Upvote 0 Downvote
Run the Accpac UI Info utility to get all the UI control names, then put statements like this: AccpacOE1100UICtrl1.UIAppControls("afeoeordhlocation1").Visible = False
Apr 22, 2008 Thread starter #6 ROM21 Programmer Feb 6, 2008 10 CA Where do I get the UI info utility? Upvote 0 Downvote
Apr 22, 2008 #7 Jay Converse Programmer Jun 17, 2007 3,277 US Start/Programs/Accpac/Tools Upvote 0 Downvote
Apr 24, 2008 Thread starter #9 ROM21 Programmer Feb 6, 2008 10 CA 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? Upvote 0 Downvote
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?
Apr 24, 2008 #10 Jay Converse Programmer Jun 17, 2007 3,277 US Sorry about that, use .MacroVisibleFlag instead. Upvote 0 Downvote
Apr 24, 2008 Thread starter #11 ROM21 Programmer Feb 6, 2008 10 CA 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. Upvote 0 Downvote
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.
Apr 24, 2008 #12 Jay Converse Programmer Jun 17, 2007 3,277 US 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 Upvote 0 Downvote
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