Adding Code to a button

Results 1 to 2 of 2

Thread: Adding Code to a button

  1. #1
    Jacqui Robinson Guest

    Default Adding Code to a button

    How can I add code that runs when a user presses a button without having to go to another form to trigger the code.<BR>I would really like to be able to utilise the On_click functions!

  2. #2
    Join Date
    Dec 1969

    Default RE: Adding Code to a button

    you answered your own question. :)<BR><BR>use an onclick event that runs VBScript. you could utilize calling a function to do what you want when the button is clicked.<BR><BR>&#060;SCRIPT LANGUAGE=vbscript&#062;<BR>Sub onclick_hello_world<BR>msgbox("HELLO WORLD")<BR>End Sub<BR>&#060;/SCRIPT&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts