Creating the Dialog
To create a new custom dialog, from the menus choose:
This will launch the Custom Dialog Builder for Extensions, which is an interactive window that allows you to design and preview a custom dialog.

In the Dialog Properties pane:
- Enter the value SPSSINC_RASCH_DEMO for the Dialog Name.
- Enter Rasch Model for the Title.
- Click the ellipsis (...) button in the Value column for the Menu Location property to specify the location of a new menu item for your dialog.

In the Menu Location dialog:
- Expand the items for the Analyze menu and the Scale sub-menu.
- Choose the last item on the Scale sub-menu.
- Click Add to add the new item and then enter Rasch Model Demo for the name of the item.
- Click Move Down to position the new menu item at the bottom of the Scale sub-menu, and then click OK.

- Drag a Source List control, a Target List control, a Radio Group control, and a Static Text control from the Tools Palette onto the canvas.
- Click the source list control to display the Source Variable List Properties pane.
- Enter source_vars for the value of the Identifier property.
- Enter V for the value of the Mnemonic Key property.
- Click the target list control to display the Target Variable List Properties pane.

- Enter Items for the value of the Identifier property.
- Enter Items: for the value of the Title property.
- Enter I for the value of the Mnemonic Key
property.
The Syntax property specifies the command syntax to be generated by this control at run time. The default value %%ThisValue%% specifies that the syntax generated by the control will consist of the run-time value of the control, which is the list of variables transferred to the control. This will be the value of the
ITEMS
keyword in the generated syntax. Leave the default value. - Click the radio group control to display the Radio Button Group Properties pane.

- Enter MissingValues for the value of the Identifier property.
- Enter Missing Values for the value of the Title property.
- Leave the default value for the Syntax property.
- Click the ellipsis (...) button in the Value column for the Radio Buttons property to specify the individual radio buttons.

- Enter listwise and allavailable for the values of the Identifier property for the two buttons.
- Enter Listwise deletion and Use all available data for the values of the Column Name property.
- Enter Use all complete observations for the ToolTip property of the first button.
- Delete the default value for the ToolTip property of the second button.
- Enter L and U for the values of the Mnemonic Key property.
- Leave the values of the Default property, so that the first listed button is selected by default.
- Enter LISTWISE and ALLAVAILABLE for the values of the Syntax property. These are the values that will be generated at run time when one or the other of the buttons is selected.
- Click OK.
- Click the Static Text control to display the Static Text Properties pane.

- Enter required for the value of the Identifier property.
- For the value of the Title property, enter This dialog requires the Integration Plug-in for R and the R ltm package.
It is good practice to add static text that reminds users about what is required to run the dialog.