Guide to Editing Event Handlers in the Windows Dialog Box Interface
Guide to Editing Event Handlers in the Windows Dialog Box Interface
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
* Product Information
* Resources
* Package Definition
* Requirements
* User Interface
* Themes
* Dialogs
* Predefined Dialogs
* Add Dialog
* Dialog Editor
* Editor
* Events Editor
* Control Events
* Edit Control Events Dialog
* Edit Event Mapping Dialog
* Edit Control Condition Dialog
* Installation Path Dialog
* Shortcut Options Dialog
* Finish Actions Dialog
* Properties
* Slideshow
* Translations
* System Changes
* Server
* Custom Behavior - Patch Project
- Merge Module Project
- Updates Configuration Project
- Windows Store App Project
- Modification Package Project
- Optional Package Project
- Windows Mobile CAB Projects
- Visual Studio Extension Project
- Software Installer Wizards - Advanced Installer
- Visual Studio integration
- Alternative to AdminStudio/Wise
- Replace Wise
- Migrating from Visual Studio Installer
- Keyboard Shortcuts
- Shell Integration
- Command Line
- Advanced Installer PowerShell Automation Interfaces
- Features and Functionality
- Tutorials
- Samples
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- Table of Contents
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
Edit Control Events Dialog
This dialog allows you to edit a control event. A control event is an action that is triggered when the user interacts with the control.
Control Event
Select the desired control event from the list.
This list contains only the events supported by the selected control.
Event Options
This section allows you to set the selected event’s options.
Argument
Specify an argument for the control event. For some events, there is a list of arguments from which you can choose, for others this field is of Formatted Type . Use the[… ] button to display the Edit Formatted Type Dialog that will allow you to insert a reference to a property. Also, some events may not need arguments.
Condition
Specify an execution condition for the control event. Edit this field using Smart Condition Edit Control .
The control events created in Advanced Installer can use these predefined conditions:
- 1 - this condition is always true; usually it’s used by control events on the secondary dialogs (dialogs which have a parent dialog) and on “Special Dialogs”
- AI_INSTALL - true during the first installation of a package; usually it’s used by control events on “First Time Install” primary dialogs (dialogs which do not have a parent dialog)
- AI_MAINT - true when the package is in Maintenance mode; usually it’s used by control events on “Maintenance” dialogs
- AI_PATCH - true during a patch installation; usually it’s used by control events on “Patch” dialogs
Show entire condition option will reveal these predefined conditions.
Examples of commonly used control conditions:
Display a specific dialog control events is used to close one modal dialog box and open another. When a control that publishes this event is triggered, the Installer closes the current dialog and puts up a new one in its place. In the User Interface of your Installer, the Back and Next buttons will publish Display a specific dialog events to enable navigation between the various installation dialogs.
Display a specific child dialog event also opens a new modal dialog box. The difference between the “Display a specific dialog” and “Display a specific child dialog” events is that the latter does not destroy the current dialog. The_Display a child dialog while a condition is true_ event also opens a new modal dialog without closing the current one. This control event requires a condition to run correctly. The specified dialog is shown as long as the condition evaluates to True and is destroyed as soon as it evaluates to False. For example, you might use this control event to display a “Please Wait” dialog while the Installer computes component costs before displaying a dialog box with a SelectionTree control.
The “Published Events” tab in the “Dialogs” page of an Enterprise or Architect project allows you to specify the Control Events started when a user interacts with a PushButton Control, CheckBox Control or SelectionTree Control. These are the only controls which can initiate published control events. Each control can publish multiple control events.
The installer starts each event in the order specified in the project. For example, a push button control can publish events to initiate a transition to another dialog box, exit the dialog box sequence, and begin file installation. The exception is that each control can publish at most one “Display a specific dialog” or one “Display a specific child dialog” event. If multiple “Display a specific dialog” and “Display a specific child dialog” control events are selected for the same control, only the last one gets published when the control is activated.
Did you find this page useful?
Please give it a rating:
Thanks!
Report a problem on this page
Information is incorrect or missing
Information is unclear or confusing
Something else
Can you tell us what’s wrong?
Send message
Also read:
- [New] In 2024, Surveying with Style Instagram's Polling Protocols Explained
- [New] In 2024, Unveiling the Most Effective Budget-Friendly Video Collaboration Tools For Companies & Classrooms
- 12 Simple Tips to Keep Your AirPods Connected and Functioning Perfectly with iPhone
- 2024 Approved The Essentials of Time-Stamped Photography
- 4 Waarschijnlijkste Wege Om Het Herstellen Van Geen Google Docs Te Beheersen
- Eindelijke Antwoorden Op Windows 11-Backup-Fouten: Effiziente Keuzes
- Get Your Files Copied Instantly & FREE with USB Auto Copy Feature
- How to Transfer Photos from Tecno Spark 20 Pro to New Android? | Dr.fone
- In 2024, Essential Tips for Vimeo Video Logging
- Seagate Hard Drive Not Detected - W10 Troubleshooting
- Seamless Photo Transfer Guide: Upgrading From iPhone 6S to iPhone 7 Plus
- Transitioning From Obstacles to Outcomes: Exploring Alternatives to Datto
- Ultimate Guide: Topmost Efficient Key Combinations in Microsoft Excel
- Updated In 2024, Here Is a List of Top Five Free WMV Video Editing Tools, Which Feature Almost All Sorts of Casual Video Editing Needs
- Verbindung Von Windows 11 Mit Synology Storage Server - Schritt-Für-Schritt-Anleitung
- Wiedergewinnen Sie Verlorene Informationen Mit Strato HiDive: Expertenrat Zum Wiederaufbau
- Title: Guide to Editing Event Handlers in the Windows Dialog Box Interface
- Author: Scott
- Created at : 2024-10-15 17:54:27
- Updated at : 2024-10-17 09:56:39
- Link: https://fox-ssl.techidaily.com/guide-to-editing-event-handlers-in-the-windows-dialog-box-interface/
- License: This work is licensed under CC BY-NC-SA 4.0.