~~Title: OnAddConfigPages~~ The **OnAddConfigPages** event is called to allow your [[:scripting:script_add-ins|script add-in]] to add one or more pages to the script configuration dialog. Any "regular" script configuration values defined by your script in [[oninit|OnInit]] are still shown to the user on the first tab of the dialog, and your custom dialogs are shown on the subsequent pages. $$ (#)**Method Name:** $$ OnAddConfigPages $$ (#)**Argument Type:** $$ **[[..:scripting_objects:addconfigpagesdata|AddConfigPagesData]]**  $$ (#)**Return Type:** $$ //none// $$ (#)**Description:** $$ The script must create a [[:scripting:script_dialogs:the_dialog_message_loop:detached_dialogs|detached dialog]] containing a tab control with at least one tab. It must run a normal script message loop and handle all message processing as normal. The only difference is that instead of calling `Dialog.Show()` the script must call `Dialog.AddConfigPages()`, and pass through the [[..:scripting_objects:addconfigpagesdata|AddConfigPagesData]] object that's supplied to the method.