All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
  Print view

How to know user Click Save Record or Save Exit button?
Author Message
PostPosted: Wed Nov 11, 2015 6:01 am 
Offline

Joined: Wed Sep 25, 2013 6:22 am
Posts: 107
I have code that I want to run it when user Save and close form.

So, How to I can know that user click Save Record or Save And Exit button

Thank you so much.


Top
 Profile  
 

Re: How to know user Click Save Record or Save Exit button?
PostPosted: Fri Nov 13, 2015 12:08 am 
Offline

Joined: Tue Mar 08, 2011 7:37 pm
Posts: 275
Hi there,

I'd recommend to hide the SaveAndExit button (from the designer options) and add a custom button to do what you want, using the form.AddToolbarButton method.

See here for more details:
http://www.bpc-components.com/pages/sha ... nd-methods

inside the button click event, you should call form.SaveAndExit() method.

Hope this is clear.

_________________
Spyros Moschovakos

Best Practice Consulting,
http://www.bpc-components.com


Top
 Profile  
 

Re: How to know user Click Save Record or Save Exit button?
PostPosted: Tue Dec 22, 2015 7:10 am 
Offline

Joined: Wed Sep 25, 2013 6:22 am
Posts: 107
ok, Thank you so much.


Top
 Profile  
 

Re: How to know user Click Save Record or Save Exit button?
PostPosted: Mon Dec 28, 2015 5:04 am 
Offline

Joined: Wed Sep 25, 2013 6:22 am
Posts: 107
Thank you so much


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by custom web design , optymalizacja pozycjonowanie strony pozycjonowanie
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group