RAMP-TSAD01 Step 4. Call the Function in the ButtonClick Function
In this step add code to call the Copy to Clipboard function from the ButtonClick function.
1. Add a case statement for F6 key (KeyF6) in the Switch command of the ButtonClick function of the DisplayEmployee script.
2. In the statement for the F6 key add a call to the uCopyEmpDetails function:
case KeyF6:
/* Call copy function */
this.uCopyEmpDetails();
break;
3. Use the Commit Changes button to commit the changes to the script and then do a partial save.