Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations Ron247 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Exit on Session

Status
Not open for further replies.

harishtrivedi

Automotive
Mar 3, 2015
3
In reference to thread

User Exit on Save 2
thread561-329094

I am looking for event similar to Form.Closing Event in Windows.

We do have User Exit for Open, Save As and many other but I am not able to see something I need.

JohnRBaker mentioned an example for User Exit in thread561-329094

! Add custom menu items or customizations
! Revised: 20 Feb 2004
! Note: Actions lines are 132 chars max.
!
VERSION 120

EDIT UG_GATEWAY_MAIN_MENUBAR

MODIFY

BUTTON UG_FILE_SAVE_AS
ACTIONS/PRE <path to executable program>

END_OF_MODIFY

I tried to modify the Exit command through menu item but NO ACTION is triggered.

May I am missing something here.

Appreciate your help on this.

Thanks,

Harish
 
Replies continue below

Recommended for you

BUTTON UG_FILE_QUIT
LABEL My Exit
ACTIONS/PRE <user dll path>
 
I used above changes in the menu file and it worked smoothly for me.

All credit goes to active user at this forum.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor