×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

User Exit on Session

User Exit on Session

User Exit on Session

(OP)
In reference to thread

User Exit on Save 2
thread561-329094: User Exit on Save

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: User Exit on Save

! 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

RE: User Exit on Session

(OP)
BUTTON UG_FILE_QUIT
LABEL My Exit
ACTIONS/PRE <user dll path>

RE: User Exit on Session

(OP)
I used above changes in the menu file and it worked smoothly for me.

All credit goes to active user at this forum.

Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources