'// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added Module Level Variables' Comments! **
'// Begin Wizard Added Module Level Variables **
private withevents btnOK as epibutton
'// End Wizard Added Module Level Variables **
'// Add Custom Module Level Variables Here **
Private Sub StartProdForm_Load(ByVal sender As object, ByVal args As EventArgs) Handles StartProdForm.Load
'//
'// Add Event Handler Code
'//
btnOK = CType(csm.GetNativeControlReference("025fc115-fee3-4973-946e-ba209189d62e"), EpiButton)
End Sub
Private Sub btnOK2_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnOK2.Click
btnOK.PerformClick()
End Sub
That should take care of your button issue, simply hide the original by setting location to 0,0 and size to 0,0 in the properties pane. You’ll need a form event that looks for the existence of a row, could be anything from EpiViewNotification to before/after row change to handle making your custom button enabled or disabled…
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-3119
FAX: (715)284-4084
[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]
Sent: Friday, March 20, 2015 8:12 AM
To: vantage@yahoogroups.com
Subject: [Vantage] MES 8.03 Customization
I am looking for a way to mimic the End Activity button characteristics in the MES screen. For example; I would like my customized button to act like the original End Activity button. When the employee is not logged into a job, the button stays disabled. And when employee is logged into a job, customized button is enabled. I need for the original End Activity button to continue to work though.
Thanks,
Adam Smith
[Non-text portions of this message have been removed]
'// Begin Wizard Added Module Level Variables **
private withevents btnOK as epibutton
'// End Wizard Added Module Level Variables **
'// Add Custom Module Level Variables Here **
Private Sub StartProdForm_Load(ByVal sender As object, ByVal args As EventArgs) Handles StartProdForm.Load
'//
'// Add Event Handler Code
'//
btnOK = CType(csm.GetNativeControlReference("025fc115-fee3-4973-946e-ba209189d62e"), EpiButton)
End Sub
Private Sub btnOK2_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnOK2.Click
btnOK.PerformClick()
End Sub
That should take care of your button issue, simply hide the original by setting location to 0,0 and size to 0,0 in the properties pane. You’ll need a form event that looks for the existence of a row, could be anything from EpiViewNotification to before/after row change to handle making your custom button enabled or disabled…
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-3119
FAX: (715)284-4084
[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]
Sent: Friday, March 20, 2015 8:12 AM
To: vantage@yahoogroups.com
Subject: [Vantage] MES 8.03 Customization
I am looking for a way to mimic the End Activity button characteristics in the MES screen. For example; I would like my customized button to act like the original End Activity button. When the employee is not logged into a job, the button stays disabled. And when employee is logged into a job, customized button is enabled. I need for the original End Activity button to continue to work though.
Thanks,
Adam Smith
[Non-text portions of this message have been removed]