How to call/execute a toolbar "DeleteTool" or "ClearTool" (E9)

Hello



I added to know the name of the tool buttons, I can add code when the button is clicked but I know know how to call the ToolClick method from any other part of the customization



Thanks,

Jose Ferrer



To: vantage@yahoogroups.com
From: ksimon8fw@...
Date: Fri, 24 Sep 2010 00:36:32 -0400
Subject: RE: [Vantage] how to call/execute a toolbar "DeleteTool" or "ClearTool" (E9)






Are you using the wizard to add this code? I do that and it doesn't have
any issues.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
ferrerspine
Sent: Thursday, September 23, 2010 10:49 PM
To: vantage@yahoogroups.com
Subject: [Vantage] how to call/execute a toolbar "DeleteTool" or "ClearTool"
(E9)

Hello

Do you know how to call/execute any of the toolbar options from a
customization in E9? (DeleteTool, ClearTool, etc)

I'm trying with:
baseToolbarsManager.Tools("DeleteTool").ToolClick()

and this is the error:
'Public Event ToolClick(sender As Object, e As
Infragistics.Win.UltraWinToolbars.ToolClickEventArgs)' is an event, and
cannot be called directly. Use a 'RaiseEvent' statement to raise an event.

Thanks in advance,
Jose Ferrer

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]
Hello

Do you know how to call/execute any of the toolbar options from a customization in E9? (DeleteTool, ClearTool, etc)

I'm trying with:
baseToolbarsManager.Tools("DeleteTool").ToolClick()

and this is the error:
'Public Event ToolClick(sender As Object, e As Infragistics.Win.UltraWinToolbars.ToolClickEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.


Thanks in advance,
Jose Ferrer
Are you using the wizard to add this code? I do that and it doesn't have
any issues.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
ferrerspine
Sent: Thursday, September 23, 2010 10:49 PM
To: vantage@yahoogroups.com
Subject: [Vantage] how to call/execute a toolbar "DeleteTool" or "ClearTool"
(E9)





Hello

Do you know how to call/execute any of the toolbar options from a
customization in E9? (DeleteTool, ClearTool, etc)

I'm trying with:
baseToolbarsManager.Tools("DeleteTool").ToolClick()

and this is the error:
'Public Event ToolClick(sender As Object, e As
Infragistics.Win.UltraWinToolbars.ToolClickEventArgs)' is an event, and
cannot be called directly. Use a 'RaiseEvent' statement to raise an event.

Thanks in advance,
Jose Ferrer





[Non-text portions of this message have been removed]