Use the UI Designer page of the Preferences to specify whether automatic saves and navigation to event handler source occurs always, never, or only when prompted and to determine the action taken when you double-click on design objects.
Figure 1 - UI Designer Preferences
Item | Explanation |
---|---|
Automatically save and navigate to event handler source | Controls when UI Designer saves changes when assigning an event handler to an object in the Events view or using the object's context menu. UI Designer needs to save the design in order to generate the source code to handle the event, this option controls when that save action occurs. The options include:
|
Double-clicking on design objects will | Specify the action UI Designer takes when you double-click an editable object in the design.
|
Notify before undoing two-way source synchronization | Controls the appearance of a notification dialog when attempting to perform an Undo operation on a generated file that is out of synchronization with the UI design. When checkmarked, a dialog appears warning you that the files are not in sync. When unchecked, no warning dialog appears. |
Generated source file header template location | Enter the path and file name to a file header template file that is used when creating generated files. The default template file, sourceFileHeader.txt includes this information:
Which can be edited to include additional information, or use the Browse control to select another file to supply the header information. |