Follow

How to Make Text Box Active in User Dialog in Grapher Scripter?

This article provides the commands needed to create a user dialog text box and make it active from a Grapher script.
 

In order to give the focus to the user created text box, a dialog function is added in Scripter. To do this, the first line of the creation of the dialog will need to be changed slightly and a function should be added after the End Sub line in the script. The first line will need to reference the dialog function:

        Begin Dialog UserDialog 550,112,"Enter Run Date",.DialogFunc

 

After the End Sub line, add this dialog function:

       Function DialogFunc%(DlgItem$, Action%, SuppValue%)
              DlgFocus "Text1"
       End Function

 

Updated September 22, 2016

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.