As always, thanks Jose. Worked like a charm.
________________________________
From: Jose Gomez <jose@...>
To: vantage@yahoogroups.com
Sent: Tuesday, June 19, 2012 9:59 AM
Subject: Re: [Vantage] Perform Click of Clear Tool with code
on 9.05XX
ADd
using System.Reflection;
On Button Click'
private void epiButtonC1_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
MethodInfo mi =
typeof(Epicor.Mfg.UI.App.IssueMaterialEntry.IssueMaterialForm).GetMethod("OnClickClear",
BindingFlags.NonPublic | BindingFlags.Instance);
mi.Invoke(IssueMaterialForm, new object[] { });
}
*Jose C Gomez*
*Software Engineer*
*
*
*checkout my new blog <http://www.usdoingstuff.com> *
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>Â <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
________________________________
From: Jose Gomez <jose@...>
To: vantage@yahoogroups.com
Sent: Tuesday, June 19, 2012 9:59 AM
Subject: Re: [Vantage] Perform Click of Clear Tool with code
on 9.05XX
ADd
using System.Reflection;
On Button Click'
private void epiButtonC1_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
MethodInfo mi =
typeof(Epicor.Mfg.UI.App.IssueMaterialEntry.IssueMaterialForm).GetMethod("OnClickClear",
BindingFlags.NonPublic | BindingFlags.Instance);
mi.Invoke(IssueMaterialForm, new object[] { });
}
*Jose C Gomez*
*Software Engineer*
*
*
*checkout my new blog <http://www.usdoingstuff.com> *
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>Â <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
On Tue, Jun 19, 2012 at 9:54 AM, Rob Bucek <rbucek@...> wrote:
> **
>
>
> This would be for 8.03...
>
>
> Rob Bucek
> Production Control Manager
> PH: (715) 284-5376 ext 311
> Mobile: (715)896-0590
> FAX: (715)284-4084
> [Description: cid:1.234354861@...]<
> http://www.dsmfg.com/>
> (Click the logo to view our site)<http://www.dsmfg.com/>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Rob Bucek
> Sent: Tuesday, June 19, 2012 8:54 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Perform Click of Clear Tool with code
>
>
> Here is some code that I use to suppress some buttons on a tool bar..this
> should get you close...
>
> Imports Infragistics.Win.UltraWinToolBars
>
> Module Script
>
> Dim baseToolbarsManager As
> Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
>
> Sub InitializCustomCode()
> dim obj as Object =
> GetType(Epicor.Mfg.UI.App.UD11Entry.UD11Form).InvokeMember("baseToolbarsManager",
> BindingFlags.Instance Or BindingFlags.GetField Or BindingFlags.NonPublic,
> Nothing, UD11Form, Nothing)
> BaseToolbarsManager =
> ctype(obj,Infragistics.Win.UltraWinToolbars.UltraToolbarsManager)
> HideTools()
>
> Sub HideTools()
> if BaseToolBarsManager.Tools.Exists("NewTool")
> BaseToolBarsManager.Tools("NewTool").SharedProps.Enabled = False
> end if
> if BaseToolBarsManager.Tools.Exists("SaveTool")
> BaseToolBarsManager.Tools("SaveTool").SharedProps.Enabled = false
> end if
>
> End Sub
>
> Rob Bucek
> Production Control Manager
> PH: (715) 284-5376 ext 311
> Mobile: (715)896-0590
> FAX: (715)284-4084
> [Description: cid:1.234354861@...<mailto:
> 1.234354861%40web65412.mail.ac4.yahoo.com>]<http://www.dsmfg.com/>
>
> (Click the logo to view our site)<http://www.dsmfg.com/>
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:
> vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of
> tkoch77
>
> Sent: Tuesday, June 19, 2012 8:37 AM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
>
> Subject: [Vantage] Perform Click of Clear Tool with code
>
> Anyone have an example on how to click a toolbar button with code? Trying
> to clear the form after a user clicks on a button, oTrans.Clear() isnt
> working.
>
> Thanks,
>
> Ted
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>Â
>
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]