Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Trigger Setup

From, the DATASCOPE WMS PC screen, browse to the module where you need to update a control (for either a Text Box, Button, or Data Grid)

Info

If you don’t like reading, you can watch the video.

Panel
panelIconId1f3a5
panelIcon:movie_camera:
panelIconText🎥
bgColor#DEEBFF

https://youtu.be/o7haVa5T-Uw

<link to PDF doc on my OneDrive>

Try it!

  • Right-click on a control and select VB Scripting

image-20240305-125501.png
  • The VB Script Editor will open.

  • Select the Event and add the base method for the Cove View.

  • From the Event drop-down, various events can be selected. Select the Event the script will be linked to and then click the Add Code button.

image-20240305-125506.png
  • Edit the Event in the Code View window by adding your own VBScript as per your requirement.

image-20240305-125514.png
  • Select Save & Close.

Info

Note: Close the PC screen and reopen the module for the script to load.

  • Test the VBScript added by invoking the event. (For example, tabbing off the selected control)

image-20240305-125518.png

Let us review a few simple VBScript examples - Simple VBScript examples