NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on April 25, 2013, 10:50:02 PM

Title: Embed point on Button
Post by: johanco123 on April 25, 2013, 10:50:02 PM
Hi Bruce

I add a button on a memory form. I want to add some code to be activated when the button is pressed before the procedure is called. Which embed point can I use to do this? Any suggestions.

Regards
Johan
Title: Re: Embed point on Button
Post by: Bruce on April 25, 2013, 11:56:33 PM
no, a button can't do "2 things".

ie if it has a Procedure, or URL attached then it's going to make a call to that Procedure or URL. If it doesn't have a Url or Proc then it'll call the browse itself, and run the Server Side code for the button. But it can't do both.

(Well strictly speaking it could do both - but the order would be undetermined - which would make it pretty useless for you.)

Cheers
Bruce