OK / Cancel / Apply

InfoDrainage is a live system, when changes to the design are applied, all the open forms update and any recalculations relating to the new data are applied.

However, there are other ways of applying changes to the design. This section describes how these ways are used and the resulting actions that may not be immediately obvious.

OK/Cancel

Some forms are modal. This means they hold the focus when they appear and you are not allowed to access any other part of the application until they are closed. This sort of form tends to be a calculator or some sort of decision you need to make (such as opening a file) before the application can move on.

OK - Confirms the information on the form and applies it to the parent form.

Cancel - Dismisses the information on the form. You are given the opportunity, if you have made changes on the form, to consider your action (especially if clicked by mistake) and save the data anyway or return to the form to make further changes. Clicking the X is the same as clicking Cancel.

OK/Cancel/Apply

Some forms are modeless. This means they will release focus if you click elsewhere on the application, and so means you can have more than one form open at a time. An example of this type are the data forms for Inflows, Stormwater Controls etc.

OK - Confirms the information on the form and applies it to the design.

Cancel - Dismisses the information on the form. You are given the opportunity, if you have made changes, to consider your action (especially if clicked by mistake) and save the data anyway or return to the form to make further changes. Clicking the X is the same as clicking Cancel.

Apply - Confirms your current set of changes and applies it to the design but the form does not close so you can continue making changes.

Undo / Redo

Whenever the design is changed, a record of the change is made so you can undo it. This is explained in more detail in the Quick Access Toolbar section. This means an Undo record is created when you click Apply on a modeless form because it makes a change to the design. This also means that if you make changes to say, Pollution, and click Apply, any data forms that are open must update so they are showing the current design data. This could mean that changes to Pollution Removal on a data form may be lost because of changes made on the Pollution form.

Similarly, changes on Plan will cause any open data forms to update including the Connections form. So if, for example, a Stormwater Control is moved on Plan the data form for the Stormwater Control and the Connections form will update if they are open.

Modeless forms also support the keyboard shortcuts Z (Undo) and Y (Redo). This is a useful feature when Apply is used because the apply action can be undone. However, it is important to remember that Undo undoes the last action applied; InfoDrainage does not record where the apply came from. This means if Apply is clicked on one form and then Z is used on another form the action from the first form is undone. This may cause changes to be removed unexpectedly.