Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
Ive been trying to grab an event (MCamEvent.Pre_File_Open) with no success.
I have the following code in my MyBase.Notify event:
Public Overrides Function Notify(ByVal event_code As MCamEvent) As MCamReturn
Select Case event_code
Case MCamEvent.Pre_File_Open
MsgBox("opening file")
End Select
Return MyBase.Notify(event_code)
End Function
and I also have the following in MyBase.Close:
Public Overrides Function Close(ByVal param As Integer) As MCamReturn
MsgBox("chook closing")
Return MCamReturn.NoErrors
End Function
But I get nothing but the close event, immediately. Even if I load a form in MyBase.Run ... I get the "chook closing" message, and the form still sits there, but no
event fires when I load different files.
Is there something else I should be doing ?
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.