' * This is the script's user interface subroutine.
' * It's actually a dialog box definition that serves
' * as a "template" for later creating a variable of
' * of this type and them using the enable function
' * 'Dialog' to display it and return values. The
' * dialog definition is done in a manner very similar
' * to creating user defined variables with the type
' * function in basic or the struct function in C.
' * By utilizing several of the UI objects available
' * you can actually create quite a useful interface
' * for setting script values and options as well as
' * guiding the user through script setup with a
' * "wizard" like interface.
' *
' *
Sub DoUI ()
Begin Dialog UI 60, 60, 240, 184, "Virtual Intersection Finder"
Text 30, 30, 200, 200, "The Virtual Intersection Finder script allows you to choose two lines and will then place a point graphic at the 'virtual' intersection of the two lines."
CheckBox 30, 100, 200, 10, "&Display this dialog every time this script is run?", .chkDisplay