Let me know if you want me to send you my version (the xml customization
file), its currently deployed and works well. We are on version
8.03.409a...
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-0590
FAX: (715)284-4084
<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 drew.pete
Sent: Monday, September 20, 2010 8:14 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: PerformClick() on EpiButton issue
Rob,
Thanks for the tip. I tried it but sadly that didn't work either. I know
it's identifying the button correctly it's just not executing the method
PerformClick(). Hopefully I can get at it again later today.
Thanks again,
Drew
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Rob
Bucek" <rbucek@...> wrote:
Behalf
file), its currently deployed and works well. We are on version
8.03.409a...
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-0590
FAX: (715)284-4084
<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 drew.pete
Sent: Monday, September 20, 2010 8:14 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: PerformClick() on EpiButton issue
Rob,
Thanks for the tip. I tried it but sadly that didn't work either. I know
it's identifying the button correctly it's just not executing the method
PerformClick(). Hopefully I can get at it again later today.
Thanks again,
Drew
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Rob
Bucek" <rbucek@...> wrote:
>CType(csm.GetNativeControlReference("025fc115-fee3-4973-946e-ba209189d62
> Two things I did to make this work..
>
>
>
> Define your custom button in a form load event, for example..
>
>
>
>
>
> Private Sub StartProdForm_Load(ByVal sender As object, ByVal args As
> EventArgs) Handles StartProdForm.Load
>
> '//
>
> '// Add Event Handler Code
>
> '//
>
> btnOK =
>
> e"), EpiButton)CType(csm.GetNativeControlReference("025fc115-fee3-4973-946e-ba209189d62
>
> End Sub
>
>
>
> Then...
>
>
>
> Change --
>
> e"), EpiButton).PerformClick()[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
>
>
>
> To
>
>
>
> btnSetupOK.PerformClick()
>
>
>
> HTH
>
>
>
> Rob Bucek
>
> Production Control Manager
>
> PH: (715) 284-5376 ext 311
>
> Mobile: (715)896-0590
>
> FAX: (715)284-4084
>
> <http://www.dsmfg.com/>
>
> (Click the logo to view our site) <http://www.dsmfg.com/>
>
>
>
>
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Behalf
> Of drew.peteI'm
> Sent: Thursday, September 16, 2010 4:06 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] PerformClick() on EpiButton issue
>
>
>
>
>
> So I have a button on a separate tab in MES that I would to use to
> invoke the "OK" button on the main MES tab in the End Activity form.
> using the custom button click event as a trigger. Here is thefollowing
> code I'm using. When I click my custom button it does notperformclick()
> of the other button like it should. I know that the event trigger isok
> and that I'm using the GetNativeControlReference because I checked theCType(csm.GetNativeControlReference("025fc115-fee3-4973-946e-ba209189d62
> text property of that declaration and it came back ok.
>
> Private Sub btnSetupOK_Click(ByVal Sender As Object, ByVal Args As
> System.EventArgs) Handles btnSetupOK.Click
> '// ** Place Event Handling Code Here **
>
> 'Messagebox.Show("Button was clicked")
>
>
>
> e"), EpiButton).PerformClick()[Non-text portions of this message have been removed]
>
> End Sub
>
> Any thoughts?
>
> Thanks,
>
> Drew
>
>
>
>
>
> [Non-text portions of this message have been removed]
>