Using The Code Wizard; Code Wizard - Creating Button Events - AMX NetLinx Studio Instruction Manual

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Using the Code Wizard

With a source code file open, select Edit > Advanced > Code Wizard to launch the Code Wizard. The Code Wizard
presents a series of dialogs that help you quickly generate various types of NetLinx code segments. The dialogs in the
Code Wizard have default selections that should apply to most typical code files. Adjust these selections as needed.
A Source file must be open in Editor window in order to use the Code Wizard.
There are two modes for the Code Wizard: the "Wizard-Style", which steps you through a series of dialogs based on
selections prompted by the program, or the tabbed dialog (FIG. 147).
FIG. 147
Code Wizard dialog (both modes

Code Wizard - Creating Button Events

1.
With I want to generate one or more BUTTON EVENT(s) selected, click Next to proceed to the next dialog in
the Wizard (FIG. 148).
FIG. 148
Button Event Code Wizard dialog 1
2.
By default, the Code Wizard configures Button Events to generate both Push and Release statements. De-select
Pushed and/or Released to avoid generating these statements.
3.
Select Create Feedback Statements if desired (unchecked by default). Note that if you select this option, these
Button Events cannot be set to handle all buttons.
4.
Click Next to proceed to the next dialog (FIG. 149).
NetLinx Studio - Instruction Manual
Programming
83

Advertisement

Table of Contents
loading

Table of Contents