|
|
| Author |
Message |
ijimmoore
Joined: 01 Mar 2010
Posts: 1
Location: New Jersey
|
Posted: Tue Apr 13, 2010 7:48 pm Post subject: relationship between buttons, Launch()es and scripts |
|
|
I am relatively new to javascript . Following your doc, I have several buttons in my project. Each executes some js via Launch(). Here are some related questions ...
1. Are all the functions in ALL the scripts in my project accessible by the TB at run time?
2. All of your examples show a call to Launch() from a button. Can I use one generically defined Launch() call for several buttons, to execute functions defined across my various scripts? Please show us how you do that.
3. Is there a limit to the number of Launch() declarations?
Thanks! |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Wed Apr 14, 2010 8:12 am Post subject: |
|
|
There is no any Generic Launch function.
For every button you can add 'Custom Javascript' control with Launch function defined inside. And run it after button click.
If you have one function for several buttons, you just need to call the same Launch Script command (from one Custom script) from several buttons.
There is no limit to Launch functions defined. |
|
| Back to top |
|
 |
|