indikad wrote:I have a small issue - when I click mu custom button I get an error . the error is
"Public member "findForm" on type "UltraToolsbarsManager" not found. Module - getMembers
The UltraToolsbarsManager is not a control, it is a component and thus has no FindForm property - but you can get to the form using the "DockWithinContainer" property of the UltraToolsbarsManager.
e.g.:
- Code: Select all
Public Sub SalesOrderForm_Toolbar_ToolClick(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinToolbars.ToolClickEventArgs)
If e.Tool.Key = "Create Purchase Orders" Then
Dim salesOrderForm As JiwaFinancials.Jiwa.JiwaSalesUI.SalesOrder.BaseSalesOrderEntryForm = DirectCast(sender, Infragistics.Win.UltraWinToolbars.UltraToolbarsManager).DockWithinContainer
CreatePurchaseOrders(salesOrderForm)
End If
End Sub
When you mentioned button in your original post, I thought you meant a button control, not a ribbon tool.