To edit or create a script using Visual Studio for modeless editing:
-
With a form open and in Design Mode, from the “”
menu, select “”.
If a form script is not defined for the current form, the editor
opens a template for a script. Otherwise, the editor opens the form
script for the form. The solution name is “EditWinStudioScript”.
The class name is “ScriptClass.VB”.
-
Edit the script code.
We recommend that you build the script. Visual Studio provides a
convenient environment for identifying and correcting errors. WinStudio
itself does not use the build.
-
Save the script.
-
Minimize or close the Visual Studio IDE.
As long as the modeless dialog is up, you can get back to this Visual
Studio session, even if you close the IDE.
-
Optionally, in the Editing Script in Visual Studio
dialog box, start a “debugging
session” to test script functionality with WinStudio.
-
Save the script.