Knowledgebase Home | Contact Knowledgebase Home| Contact
Search the Knowledgebase Browse by Category
How to Make Text Box Active in User Dialog in Scripter?
User Opinions
100% thumbs up 0% thumbs down

How would you rate this answer?
Helpful
Not helpful

In order to give the text box focus, you will need to add a dialog function in Scripter. To do this, your 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

Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Post Comment for "How to Make Text Box Active in User Dialog in Scripter?"
To post a comment for this question, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
Continue
Powered by ActiveKB Knowledgebase Software

Home * Products * Gallery * Support * About Us * Register * Order * Demos