Add actions
Next you will use the Code Sourcerer to add functionality to some of the commands.
- Select the Code Before node which is under the Clear command in the tree.
- Press the Code Sourcerer button.
- Choose the first item, 'Change a property of an existing part'. Press Next.
- Choose 'query', the TextBox in your application. Press Next.
- Choose 'Change text of Text Box...'. Press Next.
- The Code Sourcerer now asks you where to get the new text for the Text Box. We want to simply erase the current text, so choose the first option, and leave the text field to the right blank. Press Done.
The following code should have appeared.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |