|
|
|
|
- Use conditions
- Use example
<Window>.EdRedo (Function) In french: <Fenêtre>.EdRedo Runs the last action undone by the end user ("Allow end users to modify the UI" option enabled). This function is equivalent to a "Redo" (Ctrl + Y) performed by the user. This function is mainly used when creating an editor through programming (see "Remarks"). // [Restore] button WIN_Form.EdRedo() Syntax <Window>: Window name Name of the window or internal window to be used. This window must be in edit mode (<Window>.EdActive). Remarks Use conditions - <Window>.EdRedo has no effect if no action was undone.
- If the last action is a custom action run by <Window>.EdDo, the procedure declared in this function is run.
- The restored action can be undone again by pressing Ctrl + Z or programmatically with <Window>.EdUndo.
Use example <Window>.EdDo is used to create custom actions (control creation for example) that support the undo/redo feature. Let's take a simple example: creating a graphic object editor. A button is used to create a shape. The user must have the ability to undo the shape creation. The following operations are performed:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|